Package | Description |
---|---|
com.google.gwt.core.ext.typeinfo |
Type-introspection support classes used by generators.
|
com.google.gwt.dev.javac.typemodel |
Type-introspection support classes used by generators.
|
com.google.gwt.resources.ext |
This package contains extension hooks for adding new resource types to
ClientBundle.
|
Modifier and Type | Method and Description |
---|---|
JConstructor |
JClassType.getConstructor(JType[] paramTypes) |
JMethod |
JClassType.getMethod(String name,
JType[] paramTypes) |
JAnnotationMethod |
JAnnotationType.getMethod(String name,
JType[] paramTypes) |
JClassType |
JClassType.getNestedType(String typeName) |
abstract JPackage |
TypeOracle.getPackage(String pkgName)
Gets a package by name.
|
abstract JClassType |
TypeOracle.getType(String name)
Finds a type given its fully qualified name.
|
JClassType |
JPackage.getType(String typeName)
Finds a type in this package.
|
abstract JClassType |
TypeOracle.getType(String pkgName,
String topLevelTypeSimpleName)
Finds a type given its package-relative name.
|
Modifier and Type | Method and Description |
---|---|
abstract JConstructor |
JClassType.getConstructor(JType[] paramTypes) |
JConstructor |
JArrayType.getConstructor(JType[] paramTypes) |
JConstructor |
JRawType.getConstructor(JType[] paramTypes) |
JConstructor |
JRealClassType.getConstructor(JType[] paramTypes) |
JConstructor |
JParameterizedType.getConstructor(JType[] paramTypes) |
abstract JMethod |
JClassType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JTypeParameter.getMethod(String name,
JType[] paramTypes) |
JMethod |
JArrayType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JWildcardType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JRawType.getMethod(String name,
JType[] paramTypes) |
JAnnotationMethod |
JAnnotationType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JRealClassType.getMethod(String name,
JType[] paramTypes) |
JMethod |
JParameterizedType.getMethod(String name,
JType[] paramTypes) |
abstract JClassType |
JClassType.getNestedType(String typeName) |
JClassType |
JArrayType.getNestedType(String typeName) |
JClassType |
JRawType.getNestedType(String typeName) |
JClassType |
JRealClassType.getNestedType(String typeName) |
JClassType |
JParameterizedType.getNestedType(String typeName) |
JPackage |
TypeOracle.getPackage(String pkgName)
Gets a package by name.
|
JPackage |
LibraryTypeOracle.getPackage(String pkgName) |
JClassType |
TypeOracle.getType(String name)
Finds a type given its fully qualified name.
|
JClassType |
JPackage.getType(String typeName) |
JClassType |
TypeOracle.getType(String pkgName,
String topLevelTypeSimpleName)
Finds a type given its package-relative name.
|
Modifier and Type | Method and Description |
---|---|
static JMethod |
ResourceGeneratorUtil.getMethodByPath(JClassType rootType,
List<String> pathElements,
JType expectedReturnType)
Finds a method by following a dotted path interpreted as a series of no-arg
method invocations from an instance of a given root type.
|
Copyright © 2018. All rights reserved.