Methods Summary |
---|
public void | countConstantReferences()
if ( name != null ) name.incReference();
if ( type != null ) type.incReference();
|
public void | externalize(ConstantPool p)
name = (UnicodeConstant)p.add( name );
type = (UnicodeConstant)p.add( type );
|
public int | getID()
if ( ! computedID ){
ID = Str2ID.sigHash.getID( name, type );
computedID = true;
}
return ID;
|
public boolean | isPrivateMember()
return ( (access & Const.ACC_PRIVATE) != 0 );
|
public boolean | isStaticMember()
return ( (access & Const.ACC_STATIC) != 0 );
|
public java.lang.String | qualifiedName()
if ( resolved ){
return name.string+":"+type.string;
}else{
return Util.accessToString(access)+" "+parent.className+" [ "+nameIndex+" : "+typeIndex+" ]";
}
|
public void | resolve(ConstantObject[] table)
if ( resolved ) return;
name = (UnicodeConstant)table[nameIndex];
type = (UnicodeConstant)table[typeIndex];
resolved = true;
|
public java.lang.String | toString()
if ( resolved ){
return Util.accessToString(access)+" "+name.string+" : "+type.string;
} else {
return Util.accessToString(access)+" [ "+nameIndex+" : "+typeIndex+" ]";
}
|