public class JavaRemoteDestination extends JavaAbstractType
JavaAbstractType.GenerationTypeJavaType.Kind| Modifier and Type | Field and Description |
|---|---|
protected String |
channelId |
protected String |
destinationName |
protected Set<JavaImport> |
imports |
protected List<JavaMethod> |
methods |
protected Map<String,JavaMethodProperty> |
properties |
protected JavaType |
superclass |
clientType, generationType, kind, provider, type, url| Constructor and Description |
|---|
JavaRemoteDestination(JavaTypeFactory provider,
Class<?> type,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToImports(JavaImport javaImport) |
protected void |
addToImports(Set<JavaImport> javaImports) |
JavaInterface |
convertToJavaInterface() |
static Method[] |
filterOverrides(Method[] methods,
ParameterizedType[] declaringTypes) |
String |
getChannelId() |
String |
getDestinationName() |
Set<JavaImport> |
getImports() |
Collection<JavaMethod> |
getMethods() |
Collection<JavaMethodProperty> |
getProperties() |
JavaType |
getSuperclass() |
boolean |
hasSuperclass() |
protected List<JavaMethod> |
initMethods() |
protected Map<String,JavaMethodProperty> |
initProperties() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotation) |
protected boolean |
shouldGenerateMethod(Method method) |
protected boolean |
shouldGenerateProperty(Method method) |
getAs3Type, getClientType, getGenerationType, getKind, getLastModified, getName, getPackage, getPackageName, getPropertyDescriptors, getProvider, getQualifiedName, getSortedUnmodifiableList, getType, getUrl, isBean, isEntity, isEnum, isGenerated, isInterface, isRemoteDestination, isWithBase, removeNullprotected final Set<JavaImport> imports
protected final JavaType superclass
protected final List<JavaMethod> methods
protected final Map<String,JavaMethodProperty> properties
protected final String destinationName
public JavaRemoteDestination(JavaTypeFactory provider, Class<?> type, URL url)
public Set<JavaImport> getImports()
protected void addToImports(JavaImport javaImport)
protected void addToImports(Set<JavaImport> javaImports)
public boolean hasSuperclass()
public JavaType getSuperclass()
public Collection<JavaMethod> getMethods()
public Collection<JavaMethodProperty> getProperties()
public String getDestinationName()
public String getChannelId()
public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
protected List<JavaMethod> initMethods()
protected boolean shouldGenerateMethod(Method method)
protected Map<String,JavaMethodProperty> initProperties()
protected boolean shouldGenerateProperty(Method method)
public JavaInterface convertToJavaInterface()
public static Method[] filterOverrides(Method[] methods, ParameterizedType[] declaringTypes)