Examples of AnnotationDefaultAttribute

If the following statement is executed after the code above, the default value of age is set to 80:

@see AnnotationsAttribute @see javassist.bytecode.annotation.MemberValue
  • oracle.toplink.libraries.asm.attrs.AnnotationDefaultAttribute
    .org/en/jsr/detail?id=175">JSR 175 : A Metadata Facility for the Java Programming Language @author Eugene Kuleshov
  • org.apache.harmony.pack200.bytecode.AnnotationDefaultAttribute
    AnnotationDefault attribute
  • org.apache.harmony.unpack200.bytecode.AnnotationDefaultAttribute
    AnnotationDefault class file attribute
  • org.eclipse.persistence.internal.libraries.asm.attrs.AnnotationDefaultAttribute
    .org/en/jsr/detail?id=175">JSR 175 : A Metadata Facility for the Java Programming Language @author Eugene Kuleshov
  • org.gjt.jclasslib.structures.attributes.AnnotationDefaultAttribute
    Describes an AnnotationDefault attribute structure. @author Vitor Carreira @version $Revision: 1.1 $ $Date: 2004-12-28 13:04:31 $
  • org.hotswap.agent.javassist.bytecode.AnnotationDefaultAttribute
    ult value of age

    If the following statement is executed after the code above, the default value of age is set to 80:

    @see AnnotationsAttribute @see org.hotswap.agent.javassist.bytecode.annotation.MemberValue
  • org.jboss.forge.furnace.proxy.javassist.bytecode.AnnotationDefaultAttribute
    ult value of age

    If the following statement is executed after the code above, the default value of age is set to 80:

    @see AnnotationsAttribute @see org.jboss.forge.furnace.proxy.javassist.bytecode.annotation.MemberValue
  • org.objectweb.asm.attrs.AnnotationDefaultAttribute
    .org/en/jsr/detail?id=175">JSR 175 : A Metadata Facility for the Java Programming Language @author Eugene Kuleshov

  • Examples of javassist.bytecode.AnnotationDefaultAttribute

                try {
                    CtClass cc = pool.get(classname);
                    ClassFile cf = cc.getClassFile2();
                    MethodInfo minfo = cf.getMethod(name);
                    if (minfo != null) {
                        AnnotationDefaultAttribute ainfo
                            = (AnnotationDefaultAttribute)
                              minfo.getAttribute(AnnotationDefaultAttribute.tag);
                        if (ainfo != null) {
                            MemberValue mv = ainfo.getDefaultValue();
                            return mv.getValue(classLoader, pool, method);
                        }
                    }
                }
                catch (NotFoundException e) {
    View Full Code Here

    Examples of javassist.bytecode.AnnotationDefaultAttribute

                {
                   throw new RuntimeException("Unable to find method " + methods[i].getName() + " for " + annotation.getName());
                }
                Object defaultValue = null;
                MethodInfo minfo = method.getMethodInfo2();
                AnnotationDefaultAttribute defAttr = (AnnotationDefaultAttribute)minfo.getAttribute(AnnotationDefaultAttribute.tag);
               
                if (defAttr != null)
                {
                   MemberValue value = defAttr.getDefaultValue();    // default value of age
                   MemberValueGetter getter = new MemberValueGetter(methods[i]);
                   value.accept(getter);
                   defaultValue = getter.getValue();
                }
               
    View Full Code Here

    Examples of oracle.toplink.libraries.asm.attrs.AnnotationDefaultAttribute

    {

      protected Attribute read (ClassReader cr, int off,
        int len, char[] buf, int codeOff, Label[] labels)
      {
        AnnotationDefaultAttribute attr =
          (AnnotationDefaultAttribute)super.read(
            cr, off, len, buf, codeOff, labels);
       
        ASMAnnotationDefaultAttribute result = new ASMAnnotationDefaultAttribute();
        result.defaultValue = attr.defaultValue;
    View Full Code Here

    Examples of org.apache.harmony.pack200.bytecode.AnnotationDefaultAttribute

                        for (int i = 0; i < param_NB.length; i++) {
                            attributes.add(getParameterAttribute(param_NB[i], name_RU_Iterator));
                        }
                    } else { // type.equals("AD")
                        for (int i = 0; i < T.length; i++) {
                            attributes.add(new AnnotationDefaultAttribute(new ElementValue(T[i], getNextValue(T[i]))));
                        }
                    }
                }
            }
            return attributes;
    View Full Code Here

    Examples of org.apache.harmony.pack200.bytecode.AnnotationDefaultAttribute

                        for (int i = 0; i < param_NB.length; i++) {
                            attributes.add(getParameterAttribute(param_NB[i], name_RU_Iterator));
                        }
                    } else { // type.equals("AD")
                        for (int i = 0; i < T.length; i++) {
                            attributes.add(new AnnotationDefaultAttribute(new ElementValue(T[i], getNextValue(T[i]))));
                        }
                    }
                }
            }
            return attributes;
    View Full Code Here

    Examples of org.apache.harmony.unpack200.bytecode.AnnotationDefaultAttribute

                            attributes.add(getParameterAttribute(param_NB[i],
                                    name_RU_Iterator));
                        }
                    } else { // type.equals("AD")
                        for (int i = 0; i < T.length; i++) {
                            attributes.add(new AnnotationDefaultAttribute(
                                    new ElementValue(T[i], getNextValue(T[i]))));
                        }
                    }
                }
            }
    View Full Code Here

    Examples of org.apache.harmony.unpack200.bytecode.AnnotationDefaultAttribute

                            attributes.add(getParameterAttribute(param_NB[i],
                                    name_RU_Iterator));
                        }
                    } else { // type.equals("AD")
                        for (int i = 0; i < T.length; i++) {
                            attributes.add(new AnnotationDefaultAttribute(
                                    new ElementValue(T[i], getNextValue(T[i]))));
                        }
                    }
                }
            }
    View Full Code Here

    Examples of org.apache.harmony.unpack200.bytecode.AnnotationDefaultAttribute

                            attributes.add(getParameterAttribute(param_NB[i],
                                    name_RU_Iterator));
                        }
                    } else { // type.equals("AD")
                        for (int i = 0; i < T.length; i++) {
                            attributes.add(new AnnotationDefaultAttribute(
                                    new ElementValue(T[i], getNextValue(T[i]))));
                        }
                    }
                }
            }
    View Full Code Here

    Examples of org.apache.harmony.unpack200.bytecode.AnnotationDefaultAttribute

                            attributes.add(getParameterAttribute(param_NB[i],
                                    name_RU_Iterator));
                        }
                    } else { // type.equals("AD")
                        for (int i = 0; i < T.length; i++) {
                            attributes.add(new AnnotationDefaultAttribute(
                                    new ElementValue(T[i], getNextValue(T[i]))));
                        }
                    }
                }
            }
    View Full Code Here

    Examples of org.eclipse.persistence.internal.libraries.asm.attrs.AnnotationDefaultAttribute

    {

      protected Attribute read (ClassReader cr, int off,
        int len, char[] buf, int codeOff, Label[] labels)
      {
        AnnotationDefaultAttribute attr =
          (AnnotationDefaultAttribute)super.read(
            cr, off, len, buf, codeOff, labels);
       
        ASMAnnotationDefaultAttribute result = new ASMAnnotationDefaultAttribute();
        result.defaultValue = attr.defaultValue;
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.