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
KonstruktorenKonstruktorBeschreibungComponentInfo(byte[] classFileBytes, IConstantPool constantPool, int offset) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintAnswer 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.intAnswer back the descriptor index of this component info.char[]getName()Answer back the name of this component info.intAnswer back the name index of this component info.intAnswer 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:IComponentInfoAnswer back the attribute number of the component info.- Angegeben von:
getAttributeCountin SchnittstelleIComponentInfo- Gibt zurück:
- the attribute number of the component info
- Siehe auch:
-
getAttributes
Beschreibung aus Schnittstelle kopiert:IComponentInfoAnswer back the collection of all attributes of the component info. It includes SyntheticAttribute, ConstantValueAttributes, etc. Returns an empty collection if none.- Angegeben von:
getAttributesin 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:IComponentInfoAnswer back the descriptor of this component info. The descriptor is returned as specified in the JVM specifications.- Angegeben von:
getDescriptorin 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:IComponentInfoAnswer back the descriptor index of this component info.- Angegeben von:
getDescriptorIndexin SchnittstelleIComponentInfo- Gibt zurück:
- the descriptor index of this component info
- Siehe auch:
-
getName
public char[] getName()Beschreibung aus Schnittstelle kopiert:IComponentInfoAnswer back the name of this component info. The name is returned as specified in the JVM specifications.- Angegeben von:
getNamein 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:IComponentInfoAnswer back the name index of this component info.- Angegeben von:
getNameIndexin SchnittstelleIComponentInfo- Gibt zurück:
- the name index of this component info
- Siehe auch:
-
sizeInBytes
public int sizeInBytes()Beschreibung aus Schnittstelle kopiert:IComponentInfoAnswer back the total size- Angegeben von:
sizeInBytesin SchnittstelleIComponentInfo- Gibt zurück:
- the size of the component info
-