Klasse ComponentInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ComponentInfo
- Alle implementierten Schnittstellen:
IComponentInfo
Default implementation of IComponentInfo.
-
Konstruktorübersicht
KonstruktorBeschreibungComponentInfo
(byte[] classFileBytes, IConstantPool constantPool, int offset) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Answer back the attribute number of the component info.Answer back the collection of all attributes of the component info.char[]
Answer back the descriptor of this component info.int
Answer back the descriptor index of this component info.char[]
getName()
Answer back the name of this component info.int
Answer back the name index of this component info.int
Answer back the total size
-
Konstruktordetails
-
ComponentInfo
public ComponentInfo(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException - Parameter:
classFileBytes
- byte[]constantPool
- IConstantPooloffset
- int- Löst aus:
ClassFormatException
-
-
Methodendetails
-
getAttributeCount
public int getAttributeCount()Beschreibung aus Schnittstelle kopiert:IComponentInfo
Answer back the attribute number of the component info.- Angegeben von:
getAttributeCount
in SchnittstelleIComponentInfo
- Gibt zurück:
- the attribute number of the component info
- Siehe auch:
-
getAttributes
Beschreibung aus Schnittstelle kopiert:IComponentInfo
Answer back the collection of all attributes of the component info. It includes SyntheticAttribute, ConstantValueAttributes, etc. Returns an empty collection if none.- Angegeben von:
getAttributes
in SchnittstelleIComponentInfo
- Gibt zurück:
- the collection of all attributes of the component info. Returns an empty collection if none
- Siehe auch:
-
getDescriptor
public char[] getDescriptor()Beschreibung aus Schnittstelle kopiert:IComponentInfo
Answer back the descriptor of this component info. The descriptor is returned as specified in the JVM specifications.- Angegeben von:
getDescriptor
in SchnittstelleIComponentInfo
- Gibt zurück:
- the descriptor of this component info. The descriptor is returned as specified in the JVM specifications
- Siehe auch:
-
getDescriptorIndex
public int getDescriptorIndex()Beschreibung aus Schnittstelle kopiert:IComponentInfo
Answer back the descriptor index of this component info.- Angegeben von:
getDescriptorIndex
in SchnittstelleIComponentInfo
- Gibt zurück:
- the descriptor index of this component info
- Siehe auch:
-
getName
public char[] getName()Beschreibung aus Schnittstelle kopiert:IComponentInfo
Answer back the name of this component info. The name is returned as specified in the JVM specifications.- Angegeben von:
getName
in SchnittstelleIComponentInfo
- Gibt zurück:
- the name of this component info. The name is returned as specified in the JVM specifications
- Siehe auch:
-
getNameIndex
public int getNameIndex()Beschreibung aus Schnittstelle kopiert:IComponentInfo
Answer back the name index of this component info.- Angegeben von:
getNameIndex
in SchnittstelleIComponentInfo
- Gibt zurück:
- the name index of this component info
- Siehe auch:
-
sizeInBytes
public int sizeInBytes()Beschreibung aus Schnittstelle kopiert:IComponentInfo
Answer back the total size- Angegeben von:
sizeInBytes
in SchnittstelleIComponentInfo
- Gibt zurück:
- the size of the component info
-