Package xyz.cofe.trambda.bc.fld
Class FTypeAnnotation
- java.lang.Object
-
- xyz.cofe.trambda.bc.fld.FTypeAnnotation
-
- All Implemented Interfaces:
Serializable,xyz.cofe.collection.ImTree<ByteCode>,xyz.cofe.collection.ImTreeWalk<ByteCode>,AnnotationDef,GetAnnotationByteCodes,ByteCode,FieldByteCode,FieldWriter
public class FTypeAnnotation extends Object implements FieldByteCode, AnnotationDef, GetAnnotationByteCodes
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AnnotationByteCode>annotationByteCodesprotected Stringdescriptorprotected StringtypePathprotected inttypeRefprotected booleanvisible
-
Constructor Summary
Constructors Constructor Description FTypeAnnotation()Конструктор по умолчаниюFTypeAnnotation(int typeRef, String typePath, String descriptor, boolean visible)FTypeAnnotation(FTypeAnnotation sample)Конструктор копирования
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FTypeAnnotationclone()List<AnnotationByteCode>getAnnotationByteCodes()StringgetDescriptor()StringgetTypePath()intgetTypeRef()booleanisVisible()xyz.cofe.iter.Eterable<ByteCode>nodes()Возвращает дочерние узлыvoidsetAnnotationByteCodes(List<AnnotationByteCode> byteCodes)voidsetDescriptor(String descriptor)voidsetTypePath(String typePath)voidsetTypeRef(int typeRef)voidsetVisible(boolean visible)StringtoString()voidwrite(org.objectweb.asm.FieldVisitor v)
-
-
-
Field Detail
-
typeRef
protected int typeRef
-
typePath
protected String typePath
-
descriptor
protected String descriptor
-
visible
protected boolean visible
-
annotationByteCodes
protected List<AnnotationByteCode> annotationByteCodes
-
-
Constructor Detail
-
FTypeAnnotation
public FTypeAnnotation()
Конструктор по умолчанию
-
FTypeAnnotation
public FTypeAnnotation(int typeRef, String typePath, String descriptor, boolean visible)
-
FTypeAnnotation
public FTypeAnnotation(FTypeAnnotation sample)
Конструктор копирования- Parameters:
sample- образец
-
-
Method Detail
-
clone
public FTypeAnnotation clone()
- Specified by:
clonein interfaceFieldByteCode- Overrides:
clonein classObject
-
getTypeRef
public int getTypeRef()
-
setTypeRef
public void setTypeRef(int typeRef)
-
getTypePath
public String getTypePath()
-
setTypePath
public void setTypePath(String typePath)
-
getDescriptor
public String getDescriptor()
-
setDescriptor
public void setDescriptor(String descriptor)
-
isVisible
public boolean isVisible()
-
setVisible
public void setVisible(boolean visible)
-
getAnnotationByteCodes
public List<AnnotationByteCode> getAnnotationByteCodes()
- Specified by:
getAnnotationByteCodesin interfaceGetAnnotationByteCodes
-
setAnnotationByteCodes
public void setAnnotationByteCodes(List<AnnotationByteCode> byteCodes)
-
nodes
public xyz.cofe.iter.Eterable<ByteCode> nodes()
Возвращает дочерние узлы
-
write
public void write(org.objectweb.asm.FieldVisitor v)
- Specified by:
writein interfaceFieldWriter
-
-