Package xyz.cofe.trambda.bc.mth
Class MLocalVariableAnnotation
- java.lang.Object
-
- xyz.cofe.trambda.bc.mth.MAbstractBC
-
- xyz.cofe.trambda.bc.mth.MLocalVariableAnnotation
-
- All Implemented Interfaces:
Serializable,xyz.cofe.collection.ImTree<ByteCode>,xyz.cofe.collection.ImTreeWalk<ByteCode>,AnnotationDef,GetAnnotationByteCodes,ByteCode,MethodByteCode,MethodWriter
public class MLocalVariableAnnotation extends MAbstractBC implements ByteCode, AnnotationDef, GetAnnotationByteCodes, MethodWriter
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AnnotationByteCode>annotationByteCodesprotected Stringdescriptorprotected String[]endLabelsprotected int[]indexprotected String[]startLabelsprotected StringtypePathprotected inttypeRefprotected booleanvisible
-
Constructor Summary
Constructors Constructor Description MLocalVariableAnnotation()Конструктор по умолчаниюMLocalVariableAnnotation(MLocalVariableAnnotation sample)Конструктор копирования
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MLocalVariableAnnotationclone()List<AnnotationByteCode>getAnnotationByteCodes()StringgetDescriptor()String[]getEndLabels()int[]getIndex()String[]getStartLabels()StringgetTypePath()intgetTypeRef()booleanisVisible()xyz.cofe.iter.Eterable<ByteCode>nodes()Возвращает дочерние узлыvoidsetAnnotationByteCodes(List<AnnotationByteCode> byteCodes)voidsetDescriptor(String descriptor)voidsetEndLabels(String[] endLabels)voidsetIndex(int[] index)voidsetStartLabels(String[] startLabels)voidsetTypePath(String typePath)voidsetTypeRef(int typeRef)voidsetVisible(boolean visible)StringtoString()voidwrite(org.objectweb.asm.MethodVisitor v, MethodWriterCtx ctx)
-
-
-
Field Detail
-
typeRef
protected int typeRef
-
typePath
protected String typePath
-
startLabels
protected String[] startLabels
-
endLabels
protected String[] endLabels
-
index
protected int[] index
-
descriptor
protected String descriptor
-
visible
protected boolean visible
-
annotationByteCodes
protected List<AnnotationByteCode> annotationByteCodes
-
-
Constructor Detail
-
MLocalVariableAnnotation
public MLocalVariableAnnotation()
Конструктор по умолчанию
-
MLocalVariableAnnotation
public MLocalVariableAnnotation(MLocalVariableAnnotation sample)
Конструктор копирования- Parameters:
sample- образец
-
-
Method Detail
-
clone
public MLocalVariableAnnotation clone()
- Specified by:
clonein interfaceMethodByteCode- Specified by:
clonein classMAbstractBC
-
getTypeRef
public int getTypeRef()
-
setTypeRef
public void setTypeRef(int typeRef)
-
getTypePath
public String getTypePath()
-
setTypePath
public void setTypePath(String typePath)
-
getStartLabels
public String[] getStartLabels()
-
setStartLabels
public void setStartLabels(String[] startLabels)
-
getEndLabels
public String[] getEndLabels()
-
setEndLabels
public void setEndLabels(String[] endLabels)
-
getIndex
public int[] getIndex()
-
setIndex
public void setIndex(int[] index)
-
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.MethodVisitor v, MethodWriterCtx ctx)- Specified by:
writein interfaceMethodWriter
-
-