FileDocCategorySizeDatePackage
ClassMember.javaAPI DocGlassfish v2 API3583Fri May 04 22:34:28 BST 2007com.sun.jdo.api.persistence.enhancer.classfile

ClassMember

public abstract class ClassMember extends Object implements VMConstants
ClassMember is a common base class for ClassMethod and ClassField

Fields Summary
Constructors Summary
Methods Summary
public abstract intaccess()
Return the access flags for the method - see VMConstants

public abstract AttributeVectorattributes()
Return the attributes associated with the member

public final booleanisFinal()
Is the member final?

    return (access() & ACCFinal) != 0;
  
public final booleanisPrivate()
Is the member private?

    return (access() & ACCPrivate) != 0;
  
public final booleanisProtected()
Is the member protected?

    return (access() & ACCProtected) != 0;
  
public final booleanisPublic()
Is the member public?

    return (access() & ACCPublic) != 0;
  
public final booleanisStatic()
Is the member static?

    return (access() & ACCStatic) != 0;
  
public abstract ConstUtf8name()
Return the name of the member

public abstract voidsetAccess(int newAccess)
Set the access flags for the method - see VMConstants

public voidsetIsFinal(boolean newFinal)
Turn on or off the final qualifier for the member.

    if (newFinal)
      setAccess(access() | ACCFinal);
    else
      setAccess(access() & ~ACCFinal);
  
public abstract ConstUtf8signature()
Return the type signature of the method