Package xyz.cofe.trambda.bc.mth
Class MParameterAnnotation
- java.lang.Object
-
- xyz.cofe.trambda.bc.mth.MAbstractBC
-
- xyz.cofe.trambda.bc.mth.MParameterAnnotation
-
- All Implemented Interfaces:
Serializable,xyz.cofe.collection.ImTree<ByteCode>,xyz.cofe.collection.ImTreeWalk<ByteCode>,AnnotationDef,GetAnnotationByteCodes,ByteCode,MethodByteCode,MethodWriter
public class MParameterAnnotation extends MAbstractBC implements ByteCode, AnnotationDef, GetAnnotationByteCodes, MethodWriter
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AnnotationByteCode>annotationByteCodesprotected Stringdescriptorprotected intparameterprotected booleanvisible
-
Constructor Summary
Constructors Constructor Description MParameterAnnotation()Конструктор по умолчаниюMParameterAnnotation(MParameterAnnotation sample)Конструктор копирования
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MParameterAnnotationclone()List<AnnotationByteCode>getAnnotationByteCodes()StringgetDescriptor()intgetParameter()booleanisVisible()xyz.cofe.iter.Eterable<ByteCode>nodes()Возвращает дочерние узлыvoidsetAnnotationByteCodes(List<AnnotationByteCode> byteCodes)voidsetDescriptor(String descriptor)voidsetParameter(int parameter)voidsetVisible(boolean visible)StringtoString()voidwrite(org.objectweb.asm.MethodVisitor v, MethodWriterCtx ctx)
-
-
-
Field Detail
-
parameter
protected int parameter
-
descriptor
protected String descriptor
-
visible
protected boolean visible
-
annotationByteCodes
protected List<AnnotationByteCode> annotationByteCodes
-
-
Constructor Detail
-
MParameterAnnotation
public MParameterAnnotation()
Конструктор по умолчанию
-
MParameterAnnotation
public MParameterAnnotation(MParameterAnnotation sample)
Конструктор копирования- Parameters:
sample- образец
-
-
Method Detail
-
clone
public MParameterAnnotation clone()
- Specified by:
clonein interfaceMethodByteCode- Specified by:
clonein classMAbstractBC
-
getParameter
public int getParameter()
-
setParameter
public void setParameter(int parameter)
-
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
-
-