Méthode | Description | |
---|---|---|
Build ( Constructor factory, Index map ) : void |
This is used to build the
|
|
ConstructorScanner ( Class type ) : SimpleFramework.Xml |
Constructor for the
|
|
Create ( Constructor factory, Annotation label, int ordinal ) : Parameter |
This is used to create a
|
|
IsInstantiable ( Class type ) : bool |
This is used to determine if the class is an inner class. If the class is a inner class and not static then this returns false. Only static inner classes can be instantiated using reflection as they do not require a "this" argument.
|
|
Process ( Constructor factory, Annotation label, int ordinal ) : Parameter |
This is used to create a
|
|
Scan ( Class type ) : void | ||
Scan ( Constructor factory, Index map ) : void |
This is used to scan the specified constructor for annotations that it contains. Each parameter annotation is evaluated and if it is an XML annotation it is considered to be a valid parameter and is added to the parameter map.
|
|
Validate ( Parameter parameter, String name ) : void |
This is used to validate the parameter against all the other parameters for the class. Validating each of the parameters ensures that the annotations for the parameters remain consistent throughout the class.
|
public Build ( Constructor factory, Index map ) : void | ||
factory | Constructor | /// this is the constructor that is to be scanned /// |
map | Index | /// this is the parameter map that contains parameters /// |
Résultat | void |
public ConstructorScanner ( Class type ) : SimpleFramework.Xml | ||
type | Class | /// this is the type that is to be scanned /// |
Résultat | SimpleFramework.Xml |
public Create ( Constructor factory, Annotation label, int ordinal ) : Parameter | ||
factory | Constructor | /// this is the constructor the parameter is in /// |
label | Annotation | /// this is the annotation used for the parameter /// |
ordinal | int | /// this is the position the parameter appears at /// |
Résultat | Parameter |
public IsInstantiable ( Class type ) : bool | ||
type | Class | /// this is the class that is to be evaluated /// |
Résultat | bool |
public Process ( Constructor factory, Annotation label, int ordinal ) : Parameter | ||
factory | Constructor | /// this is the constructor the parameter is in /// |
label | Annotation | /// this is the annotation used for the parameter /// |
ordinal | int | /// this is the position the parameter appears at /// |
Résultat | Parameter |
public Scan ( Class type ) : void | ||
type | Class | /// this is the type that is to be scanned /// |
Résultat | void |
public Scan ( Constructor factory, Index map ) : void | ||
factory | Constructor | /// this is the constructor that is to be scanned /// |
map | Index | /// this is the parameter map that contains parameters /// |
Résultat | void |
public Validate ( Parameter parameter, String name ) : void | ||
parameter | Parameter | /// this is the parameter to be validated /// |
name | String | /// this is the name of the parameter to validate /// |
Résultat | void |