Package org.biojava.utils.bytecode
Class CodeField
- java.lang.Object
-
- org.biojava.utils.bytecode.CodeField
-
public final class CodeField extends java.lang.ObjectWrap up details about a field in a Java class file.Instances of this type will be instantiated by CodeClass instances, using the getField() methods.
- Author:
- Thomas Down, Matthew Pocock
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeClassgetContainingClass()Get the class that contains this field.java.lang.StringgetFullName()Get the fully qualified name of the field.intgetModifiers()Get the moddifiers applied to this field.java.lang.StringgetName()Get the name of the field.CodeClassgetType()Get the type of the field.java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of the field.- Returns:
- the name of the field
-
getFullName
public java.lang.String getFullName()
Get the fully qualified name of the field.- Returns:
- the fully qualified name
-
getContainingClass
public CodeClass getContainingClass()
Get the class that contains this field.- Returns:
- the containing class
-
getType
public CodeClass getType()
Get the type of the field.- Returns:
-
getModifiers
public int getModifiers()
Get the moddifiers applied to this field.- Returns:
- the modifiers
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-