Package xyz.cofe.trambda.bc.cls
Class CField
- java.lang.Object
-
- xyz.cofe.trambda.bc.cls.CField
-
- All Implemented Interfaces:
Serializable,xyz.cofe.collection.ImTree<ByteCode>,xyz.cofe.collection.ImTreeWalk<ByteCode>,AccFlagsProperty,ByteCode,ClazzWriter,ClsByteCode,FieldFlags
public class CField extends Object implements ClsByteCode, ClazzWriter, AccFlagsProperty, FieldFlags
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intaccessprotected Stringdescriptorprotected List<FieldByteCode>fieldByteCodesprotected Stringnameprotected Stringsignatureprotected Objectvalue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CFieldclone()CFieldconfigure(Consumer<CField> conf)intgetAccess()StringgetDescriptor()List<FieldByteCode>getFieldByteCodes()StringgetName()StringgetSignature()ObjectgetValue()voidsetAccess(int access)voidsetDescriptor(String descriptor)voidsetFieldByteCodes(List<FieldByteCode> fld)voidsetName(String name)voidsetSignature(String signature)voidsetValue(Object value)StringtoString()voidwrite(org.objectweb.asm.ClassWriter v)-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface xyz.cofe.trambda.bc.FieldFlags
isDeprecated, isEnum, isFinal, isMandated, isPrivate, isProtected, isPublic, isStatic, isSynthetic, isTransient, isVolatile, setDeprecated, setEnum, setFinal, setMandated, setPrivate, setProtected, setPublic, setStatic, setSynthetic, setTransient, setVolatile
-
-
-
-
Method Detail
-
clone
public CField clone()
- Specified by:
clonein interfaceClsByteCode- Overrides:
clonein classObject
-
getAccess
public int getAccess()
- Specified by:
getAccessin interfaceAccFlagsProperty
-
setAccess
public void setAccess(int access)
- Specified by:
setAccessin interfaceAccFlagsProperty
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescriptor
public String getDescriptor()
-
setDescriptor
public void setDescriptor(String descriptor)
-
getSignature
public String getSignature()
-
setSignature
public void setSignature(String signature)
-
getValue
public Object getValue()
-
setValue
public void setValue(Object value)
-
getFieldByteCodes
public List<FieldByteCode> getFieldByteCodes()
-
setFieldByteCodes
public void setFieldByteCodes(List<FieldByteCode> fld)
-
write
public void write(org.objectweb.asm.ClassWriter v)
- Specified by:
writein interfaceClazzWriter
-
-