|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjef.disconnection.impl.DefaultDisconnectedField
public class DefaultDisconnectedField
Default implementation of the DisconnectedField
interface.
Field Summary | |
---|---|
protected AttributesTable |
attributes
|
protected ConstantPoolTable |
constantPoolTable
|
protected FieldsTable |
fields
|
protected java.util.HashMap<java.lang.String,Dna> |
innerClasses
|
protected java.lang.String |
srcClassFqn
|
Constructor Summary | |
---|---|
DefaultDisconnectedField()
Creates a new instance of DefaultDisconnectedField |
Method Summary | |
---|---|
void |
addAttribute(Attribute attr)
This method allows adding a class-level attribute to this disconnected structure. |
void |
addField(FieldInfoStructure fi)
Adds a new FiledInfoStructure to the set of fields. |
void |
addInnerClass(java.lang.String fqn,
Dna innerDna)
This method adds a new inner Dna to the disconnected data-structure. |
AttributesTable |
getAttributes()
Returns the whole list of added attributes by reference, or null . |
ConstantPoolTable |
getConstantPoolTable()
Gets the ConstantPoolTable instance containing all the cp_info s
required by both the fields and methods stored in the current DisconnectedMethod
instance. |
FieldsTable |
getFields()
Gets the FieldsTable instance containing all the fields required by the
methods stored in the current DisconnectedMethod instance. |
java.util.HashMap<java.lang.String,Dna> |
getInnerClasses()
Returns the map of inner Dnas indexed by their fully qualified class names. |
java.lang.String |
getSrcClassFqn()
This method returns the FQN of the Java class this structure belonged to. |
void |
setConstantPoolTable(ConstantPoolTable cpt)
Sets the ConstantPoolTable instance containing all the cp_info s
required by both the fields and methods stored in the current DisconnectedMethod
instance. |
void |
setFields(FieldsTable ft)
Sets the FieldsTable instance containing all the fields required by the
methods stored in the current DisconnectedMethod instance. |
void |
setSrcClassFqn(java.lang.String fqn)
This method sets the FQN of the Java class this structure belonged to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.HashMap<java.lang.String,Dna> innerClasses
protected ConstantPoolTable constantPoolTable
protected FieldsTable fields
protected java.lang.String srcClassFqn
protected AttributesTable attributes
Constructor Detail |
---|
public DefaultDisconnectedField() throws InstantiatorException
InstantiatorException
Method Detail |
---|
public void setConstantPoolTable(ConstantPoolTable cpt)
ConstantPoolTable
instance containing all the cp_info
s
required by both the fields and methods stored in the current DisconnectedMethod
instance.
setConstantPoolTable
in interface DisconnectedField
cpt
- The ConstantPoolTable
instancepublic ConstantPoolTable getConstantPoolTable()
ConstantPoolTable
instance containing all the cp_info
s
required by both the fields and methods stored in the current DisconnectedMethod
instance.
getConstantPoolTable
in interface DisconnectedField
ConstantPoolTable
instancepublic void setFields(FieldsTable ft)
FieldsTable
instance containing all the fields required by the
methods stored in the current DisconnectedMethod
instance.
setFields
in interface DisconnectedField
ft
- The FieldsTable
instancepublic FieldsTable getFields()
FieldsTable
instance containing all the fields required by the
methods stored in the current DisconnectedMethod
instance.
getFields
in interface DisconnectedField
FieldsTable
instancepublic void addField(FieldInfoStructure fi) throws InstantiatorException
FiledInfoStructure
to the set of fields.
addField
in interface DisconnectedField
final
- The FiledInfoStructure
InstantiatorException
public void setSrcClassFqn(java.lang.String fqn)
DisconnectedField
setSrcClassFqn
in interface DisconnectedField
fqn
- The source Java class FQNpublic java.lang.String getSrcClassFqn()
DisconnectedField
getSrcClassFqn
in interface DisconnectedField
public void addAttribute(Attribute attr) throws InstantiatorException
DisconnectedField
addAttribute
in interface DisconnectedField
attr
- The attribute to add
InstantiatorException
public AttributesTable getAttributes()
DisconnectedField
null
.
getAttributes
in interface DisconnectedField
null
public void addInnerClass(java.lang.String fqn, Dna innerDna)
DisconnectedField
addInnerClass
in interface DisconnectedField
public java.util.HashMap<java.lang.String,Dna> getInnerClasses()
DisconnectedField
getInnerClasses
in interface DisconnectedField
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |