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
KonstruktorBeschreibungRuntimeVisibleAnnotationsAttribute
(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for RuntimeVisibleAnnotations. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAnswer back the annotations.int
Answer 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, getAttributeNameIndex
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von 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:IRuntimeVisibleAnnotationsAttribute
Answer back the annotations. Answers an empty collection if none.- Angegeben von:
getAnnotations
in SchnittstelleIRuntimeVisibleAnnotationsAttribute
- Gibt zurück:
- the annotations. Answers an empty collection if none.
-
getAnnotationsNumber
public int getAnnotationsNumber()Beschreibung aus Schnittstelle kopiert:IRuntimeVisibleAnnotationsAttribute
Answer back the number of annotations as described in the JVM specifications.- Angegeben von:
getAnnotationsNumber
in SchnittstelleIRuntimeVisibleAnnotationsAttribute
- Gibt zurück:
- the number of annotations
-