com.bea.tuxedo.control
Class JavaClassValidate
java.lang.Object
com.bea.tuxedo.control.JavaClassValidate
- All Implemented Interfaces:
- IJavaClass
public class JavaClassValidate
- extends Object
- implements IJavaClass
Get a list of publicly asscessible fields in a class. The fields may represent
regular data fields or JavaBean style getters. Version used by the compile-time
validation code.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaClassValidate
public JavaClassValidate(ReferenceType iref,
TuxedoControl.AccessorName conv,
AnnotationProcessorEnvironment aptEnv,
MethodDeclaration method)
- Constructor.
- Parameters:
iref
- Internal compiler type representing the class.conv
- Conventions used for accessor name translationaptEnv
- The APT environment to handle error or warning messagesmethod
- Method given by APT to locate the position in case of error/warning
getFields
public IJavaField[] getFields()
- Get the field descriptors for the represented class.
- Specified by:
getFields
in interface IJavaClass
- Returns:
- An array of field descriptors. Field order is not
important for validation.