public class FieldDef
extends java.lang.Object
java.lang.reflect.Field
class since
this appears not to be careful with String[]
type strings.
Modifier and Type | Field and Description |
---|---|
java.lang.reflect.Field |
field
Overall data of the field instance.
|
java.lang.String |
type
Type modifier of the declared variable/field.
|
java.lang.String |
variable
Name of the declared variable/field.
|
Constructor and Description |
---|
FieldDef()
The constructor method.
|
FieldDef(java.lang.String variable,
java.lang.String type,
java.lang.reflect.Field field)
The 2nd constructor with real initializing functionality.
|
public java.lang.String variable
public java.lang.String type
public java.lang.reflect.Field field
public FieldDef() throws java.lang.InstantiationException
String
variables are set to null
.
java.lang.InstantiationException
- Error indicationpublic FieldDef(java.lang.String variable, java.lang.String type, java.lang.reflect.Field field)
variable
- Variable name to be representedtype
- Data type modifier to be representedfield
- Overall Field objectpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(FieldDef tocheck)
FieldDef
instance is equal to this.
tocheck
- The instance to be comparedFieldDef
instance to check for equalityCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.