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 org.gjt.jclasslib.structures.attributes.AnnotationDefaultAttribute

                    lblTag = highlightLabel(),
                    lblTagVerbose = highlightLabel());
        }

        public void show(TreePath treePath) {
            AnnotationDefaultAttribute ada = (AnnotationDefaultAttribute)findAttribute(treePath);

            int tag = ada.getDefaultValue().getTag();
            String name = ada.getDefaultValue().getEntryName();
            lblTag.setText(name);
            lblTagVerbose.setText("<" + ElementValue.getTagDescription(tag) + ">");

            super.show(treePath);
        }
    View Full Code Here

    Examples of org.gjt.jclasslib.structures.attributes.AnnotationDefaultAttribute

                    lblTag = highlightLabel(),
                    lblTagVerbose = highlightLabel());
        }

        public void show(TreePath treePath) {
            AnnotationDefaultAttribute ada = (AnnotationDefaultAttribute)findAttribute(treePath);

            int tag = ada.getDefaultValue().getTag();
            String name = ada.getDefaultValue().getEntryName();
            lblTag.setText(name);
            lblTagVerbose.setText("<" + ElementValue.getTagDescription(tag) + ">");

            super.show(treePath);
        }
    View Full Code Here

    Examples of org.hotswap.agent.javassist.bytecode.AnnotationDefaultAttribute

                try {
                    org.hotswap.agent.javassist.CtClass cc = pool.get(classname);
                    ClassFile cf = cc.getClassFile2();
                    org.hotswap.agent.javassist.bytecode.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 (org.hotswap.agent.javassist.NotFoundException e) {
                    throw new RuntimeException("cannot find a class file: "
    View Full Code Here

    Examples of org.jboss.forge.furnace.proxy.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 org.objectweb.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.objectweb.asm.attrs.AnnotationDefaultAttribute

                        Annotation annotation = (Annotation) it.next();
                        AnnotationInfo annotationInfo = getAnnotationInfo(annotation, loader);
                        annotations.add(annotationInfo);
                    }
                } else if (current instanceof AnnotationDefaultAttribute) {
                    AnnotationDefaultAttribute defaultAttribute = (AnnotationDefaultAttribute) current;
                    AnnotationInfo annotationInfo = new AnnotationInfo(
                            AnnotationDefault.NAME,
                            new AnnotationDefault.AnnotationDefaultImpl(defaultAttribute.defaultValue)
                    );
                    annotations.add(annotationInfo);
    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.