com.sun.tools.ws.processor.modeler.annotation
Class TypeModeler

java.lang.Object
  extended by com.sun.tools.ws.processor.modeler.annotation.TypeModeler
All Implemented Interfaces:
WebServiceConstants

public class TypeModeler
extends java.lang.Object
implements WebServiceConstants

Author:
WS Development Team

Field Summary
 
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
 
Constructor Summary
TypeModeler()
           
 
Method Summary
static java.util.Collection<InterfaceType> collectInterfaces(TypeDeclaration type)
           
static TypeDeclaration getDeclaration(TypeMirror typeMirror)
           
static TypeDeclaration getDeclaringClassMethod(TypeDeclaration theClass, java.lang.String methodName, TypeMirror[] args)
           
static TypeDeclaration getDeclaringClassMethod(TypeMirror theClass, java.lang.String methodName, TypeMirror[] args)
           
static TypeMirror getHolderValueType(TypeMirror type, TypeDeclaration defHolder)
           
static FieldDeclaration getValueMember(TypeDeclaration type)
           
static FieldDeclaration getValueMember(TypeMirror classType)
           
static boolean isSubclass(java.lang.String subTypeName, java.lang.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
 

Constructor Detail

TypeModeler

public TypeModeler()
Method Detail

getDeclaration

public static TypeDeclaration getDeclaration(TypeMirror typeMirror)

getDeclaringClassMethod

public static TypeDeclaration getDeclaringClassMethod(TypeMirror theClass,
                                                      java.lang.String methodName,
                                                      TypeMirror[] args)

getDeclaringClassMethod

public static TypeDeclaration getDeclaringClassMethod(TypeDeclaration theClass,
                                                      java.lang.String methodName,
                                                      TypeMirror[] args)

collectInterfaces

public static java.util.Collection<InterfaceType> collectInterfaces(TypeDeclaration type)

isSubclass

public static boolean isSubclass(java.lang.String subTypeName,
                                 java.lang.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)


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.