Uses of Class
org.cojen.classfile.Modifiers

Packages that use Modifiers
org.cojen.classfile   
org.cojen.classfile.attribute   
 

Uses of Modifiers in org.cojen.classfile
 

Fields in org.cojen.classfile declared as Modifiers
static Modifiers Modifiers.NONE
           
static Modifiers Modifiers.PRIVATE
           
static Modifiers Modifiers.PROTECTED
           
static Modifiers Modifiers.PUBLIC
           
static Modifiers Modifiers.PUBLIC_ABSTRACT
           
static Modifiers Modifiers.PUBLIC_STATIC
           
 

Methods in org.cojen.classfile that return Modifiers
static Modifiers Modifiers.getInstance(int bitmask)
          Returns a Modifiers object with the given bitmask.
 Modifiers MethodDeclarationParser.getModifiers()
           
 Modifiers FieldInfo.getModifiers()
          Returns this field's modifiers.
 Modifiers ClassFile.getModifiers()
           
 Modifiers MethodInfo.getModifiers()
          Returns this method's modifiers.
 Modifiers Modifiers.toAbstract(boolean b)
          When set abstract, the bitmask is cleared from being final, volatile, transient, native, synchronized, and strictfp.
 Modifiers Modifiers.toBridge(boolean b)
          Used to identify if a method is a bridge method.
 Modifiers Modifiers.toEnum(boolean b)
          Used to identify if a field is an enum constant.
 Modifiers Modifiers.toFinal(boolean b)
          When set final, the bitmask is cleared from being an interface or abstract.
 Modifiers Modifiers.toInterface(boolean b)
          When set as an interface, non-interface settings are cleared and the bitmask is set abstract.
 Modifiers Modifiers.toNative(boolean b)
          When set native, non-native-method settings are cleared.
 Modifiers Modifiers.toPrivate(boolean b)
          When set private, the bitmask is cleared from being public or protected.
 Modifiers Modifiers.toProtected(boolean b)
          When set protected, the bitmask is cleared from being public or private.
 Modifiers Modifiers.toPublic(boolean b)
          When set public, the bitmask is cleared from being private or protected.
 Modifiers Modifiers.toStatic(boolean b)
           
 Modifiers Modifiers.toStrict(boolean b)
           
 Modifiers Modifiers.toSynchronized(boolean b)
          When set synchronized, non-method settings are cleared.
 Modifiers Modifiers.toTransient(boolean b)
          When set transient, non-field settings are cleared.
 Modifiers Modifiers.toVarArgs(boolean b)
          Used to identify if a method accepts a variable amount of arguments.
 Modifiers Modifiers.toVolatile(boolean b)
          When set volatile, non-field settings are cleared.
 

Methods in org.cojen.classfile with parameters of type Modifiers
 MethodInfo ClassFile.addConstructor(Modifiers modifiers, TypeDesc[] params)
          Add a constructor to this class.
 FieldInfo ClassFile.addField(Modifiers modifiers, String fieldName, TypeDesc type)
          Add a field to this class.
 MethodInfo ClassFile.addMethod(Modifiers modifiers, String methodName, MethodDesc md)
          Add a method to this class.
 MethodInfo ClassFile.addMethod(Modifiers modifiers, String methodName, TypeDesc ret, TypeDesc[] params)
          Add a method to this class.
 void FieldInfo.setModifiers(Modifiers modifiers)
           
 void ClassFile.setModifiers(Modifiers modifiers)
           
 void MethodInfo.setModifiers(Modifiers modifiers)
           
 

Uses of Modifiers in org.cojen.classfile.attribute
 

Methods in org.cojen.classfile.attribute that return Modifiers
 Modifiers InnerClassesAttr.Info.getModifiers()
          Returns the modifiers.
 

Methods in org.cojen.classfile.attribute with parameters of type Modifiers
 void InnerClassesAttr.addInnerClass(String inner, String outer, String name, Modifiers modifiers)
           
 



Copyright © 2004-2011 Brian S O'Neill. All Rights Reserved.