Package org.biojava.utils.bytecode
Class CodeField
- java.lang.Object
-
- org.biojava.utils.bytecode.CodeField
-
public final class CodeField extends java.lang.Object
Wrap 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 CodeClass
getContainingClass()
Get the class that contains this field.java.lang.String
getFullName()
Get the fully qualified name of the field.int
getModifiers()
Get the moddifiers applied to this field.java.lang.String
getName()
Get the name of the field.CodeClass
getType()
Get the type of the field.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-