Klasse RuntimeVisibleAnnotationsAttribute
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
org.aspectj.org.eclipse.jdt.internal.core.util.RuntimeVisibleAnnotationsAttribute
- Alle implementierten Schnittstellen:
IClassFileAttribute,IRuntimeVisibleAnnotationsAttribute
public class RuntimeVisibleAnnotationsAttribute
extends ClassFileAttribute
implements IRuntimeVisibleAnnotationsAttribute
Default implementation of IRuntimeVisibleAnnotations
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRuntimeVisibleAnnotationsAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for RuntimeVisibleAnnotations. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAnswer back the annotations.intAnswer back the number of annotations as described in the JVM specifications.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8AtVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Konstruktordetails
-
RuntimeVisibleAnnotationsAttribute
public RuntimeVisibleAnnotationsAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException Constructor for RuntimeVisibleAnnotations.- Parameter:
classFileBytes-constantPool-offset-- Löst aus:
ClassFormatException
-
-
Methodendetails
-
getAnnotations
Beschreibung aus Schnittstelle kopiert:IRuntimeVisibleAnnotationsAttributeAnswer back the annotations. Answers an empty collection if none.- Angegeben von:
getAnnotationsin SchnittstelleIRuntimeVisibleAnnotationsAttribute- Gibt zurück:
- the annotations. Answers an empty collection if none.
-
getAnnotationsNumber
public int getAnnotationsNumber()Beschreibung aus Schnittstelle kopiert:IRuntimeVisibleAnnotationsAttributeAnswer back the number of annotations as described in the JVM specifications.- Angegeben von:
getAnnotationsNumberin SchnittstelleIRuntimeVisibleAnnotationsAttribute- Gibt zurück:
- the number of annotations
-