com.bea.tuxedo.control
Class JavaClassValidate

java.lang.Object
  extended by 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.


Constructor Summary
JavaClassValidate(ReferenceType iref, TuxedoControl.AccessorName conv, AnnotationProcessorEnvironment aptEnv, MethodDeclaration method)
          Constructor.
 
Method Summary
 IJavaField[] getFields()
          Get the field descriptors for the represented class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 translation
aptEnv - The APT environment to handle error or warning messages
method - Method given by APT to locate the position in case of error/warning
Method Detail

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.