Package net.sf.rej.java.attribute.annotations

Examples of net.sf.rej.java.attribute.annotations.EnumValue


        sd.drawDefault(ia.getShortName(ev.getValue()));
      } else if (ev instanceof ConstantValue) {
        ConstantValue cv = (ConstantValue)ev;
        drawConstant(sd, cv.getConstantPoolInfo());
      } else if (ev instanceof EnumValue) {
        EnumValue en = (EnumValue)ev;
        sd.drawDefault(ia.getShortName(en.getTypeName()));
        sd.drawDefault(".");
        sd.drawField(en.getConstName());
      } else if (ev instanceof NestedAnnotationValue) {
        sd.drawDefault(ev.getValue());
      }
    }
View Full Code Here


      } else if (ev instanceof ClassInfoValue) {
        imports.addType(ev.getValue());
      } else if (ev instanceof ConstantValue) {
        // no types
      } else if (ev instanceof EnumValue) {
        EnumValue en = (EnumValue)ev;
        imports.addType(en.getTypeName());
      } else if (ev instanceof NestedAnnotationValue) {
        NestedAnnotationValue nested = (NestedAnnotationValue)ev;
        getAnnotationTypeImports(imports, nested.getAnnotation());
      }
    }
View Full Code Here

TOP

Related Classes of net.sf.rej.java.attribute.annotations.EnumValue

Copyright © 2018 www.massapicom. 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.