com.sun.tools.ws.processor.modeler.annotation
Class TypeModeler
java.lang.Object
com.sun.tools.ws.processor.modeler.annotation.TypeModeler
- All Implemented Interfaces:
- WebServiceConstants
public class TypeModeler
- extends Object
- implements WebServiceConstants
Fields inherited from interface com.sun.tools.ws.processor.modeler.annotation.WebServiceConstants |
BEAN, BINDING, COLLECTION_CLASSNAME, DOT, EMTPY_NAMESPACE_ID, EXCEPTION_CLASSNAME, FAULT_INFO, GET_FAULT_INFO, GET_PREFIX, HANDLER, HANDLER_CHAIN, HANDLER_CHAIN_NAME, HANDLER_CLASS, HANDLER_CONFIG, HANDLER_NAME, HOLDER_CLASSNAME, HTTP_PREFIX, INIT_PARAM, IS_PREFIX, JAVA_LANG_OBJECT, JAXWS, JAXWS_PACKAGE_PD, MAP_CLASSNAME, PARAM_NAME, PARAM_VALUE, PD, PD_JAXWS_PACKAGE_PD, PORT, REMOTE_CLASSNAME, REMOTE_EXCEPTION_CLASSNAME, RESPONSE, RETURN, RETURN_CAPPED, RETURN_VALUE, RUNTIME_EXCEPTION_CLASSNAME, SERIALIZABLE_CLASSNAME, SERVICE, SIGC_INNERCLASS, SIGC_UNDERSCORE, SOAP_HEADER, SOAP_ROLE, WEBSERVICE_NAMESPACE |
Method Summary |
static void |
collectExceptionProperties(TypeDeclaration type,
Map<String,MethodDeclaration> members)
|
static void |
collectExceptionProperties(TypeMirror type,
Map<String,MethodDeclaration> members)
|
static Collection<InterfaceType> |
collectInterfaces(TypeDeclaration type)
|
static TypeDeclaration |
getDeclaration(TypeMirror typeMirror)
|
static TypeDeclaration |
getDeclaringClassMethod(TypeDeclaration theClass,
String methodName,
TypeMirror[] args)
|
static TypeDeclaration |
getDeclaringClassMethod(TypeMirror theClass,
String methodName,
TypeMirror[] args)
|
static Map<String,MethodDeclaration> |
getExceptionProperties(TypeDeclaration type)
|
static Map<String,MethodDeclaration> |
getExceptionProperties(TypeMirror type)
|
static TypeMirror |
getHolderValueType(TypeMirror type,
TypeDeclaration defHolder)
|
static FieldDeclaration |
getValueMember(TypeDeclaration type)
|
static FieldDeclaration |
getValueMember(TypeMirror classType)
|
static boolean |
isSubclass(String subTypeName,
String superTypeName,
AnnotationProcessorEnvironment env)
|
static boolean |
isSubclass(TypeDeclaration subType,
TypeDeclaration superType)
|
static boolean |
isSubtype(TypeDeclaration d1,
TypeDeclaration d2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeModeler
public TypeModeler()
getDeclaration
public static TypeDeclaration getDeclaration(TypeMirror typeMirror)
getDeclaringClassMethod
public static TypeDeclaration getDeclaringClassMethod(TypeMirror theClass,
String methodName,
TypeMirror[] args)
getDeclaringClassMethod
public static TypeDeclaration getDeclaringClassMethod(TypeDeclaration theClass,
String methodName,
TypeMirror[] args)
collectInterfaces
public static Collection<InterfaceType> collectInterfaces(TypeDeclaration type)
isSubclass
public static boolean isSubclass(String subTypeName,
String superTypeName,
AnnotationProcessorEnvironment env)
isSubclass
public static boolean isSubclass(TypeDeclaration subType,
TypeDeclaration superType)
getHolderValueType
public static TypeMirror getHolderValueType(TypeMirror type,
TypeDeclaration defHolder)
getValueMember
public static FieldDeclaration getValueMember(TypeMirror classType)
getValueMember
public static FieldDeclaration getValueMember(TypeDeclaration type)
isSubtype
public static boolean isSubtype(TypeDeclaration d1,
TypeDeclaration d2)
getExceptionProperties
public static Map<String,MethodDeclaration> getExceptionProperties(TypeMirror type)
getExceptionProperties
public static Map<String,MethodDeclaration> getExceptionProperties(TypeDeclaration type)
collectExceptionProperties
public static void collectExceptionProperties(TypeMirror type,
Map<String,MethodDeclaration> members)
collectExceptionProperties
public static void collectExceptionProperties(TypeDeclaration type,
Map<String,MethodDeclaration> members)