public class CPMember extends ClassFileEntry
| Modifier and Type | Field and Description |
|---|---|
protected CPUTF8 |
descriptor |
NONE| Constructor and Description |
|---|
CPMember(CPUTF8 name,
CPUTF8 descriptor,
long flags,
List attributes)
Create a new CPMember
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doWrite(DataOutputStream dos) |
boolean |
equals(Object obj) |
protected ClassFileEntry[] |
getNestedClassFileEntries() |
int |
hashCode() |
protected void |
resolve(ClassConstantPool pool)
Allows the constant pool entries to resolve their nested entries.
|
String |
toString() |
objectHashCode, writeprotected final CPUTF8 descriptor
public CPMember(CPUTF8 name, CPUTF8 descriptor, long flags, List attributes)
name - TODOdescriptor - TODOflags - TODOattributes - TODONullPointerException - if name or descriptor is nullprotected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries in class ClassFileEntryprotected void resolve(ClassConstantPool pool)
ClassFileEntryresolve in class ClassFileEntrypool - TODOpublic int hashCode()
hashCode in class ClassFileEntrypublic String toString()
toString in class ClassFileEntrypublic boolean equals(Object obj)
equals in class ClassFileEntryprotected void doWrite(DataOutputStream dos) throws IOException
doWrite in class ClassFileEntryIOExceptionCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.