Java com.google.gwt.core.ext.typeinfo JClassType fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.core.ext.typeinfo JClassType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.core.ext.typeinfo JClassType.

The text is from its open source code.

Method

JParameterizedTypeasParameterizationOf(JGenericType type)
TfindAnnotationInTypeHierarchy(Class annotationType)
Find an annotation on a type or on one of its superclasses or superinterfaces.
JConstructorfindConstructor(JType[] paramTypes)
JFieldfindField(String name)
JMethodfindMethod(String name, JType[] paramTypes)
TgetAnnotation(Class annotationClass)
Returns an instance of the specified annotation type if it is present on this element or null if it is not.
Annotation[]getAnnotations()
Returns all the annotations present on this element.
JConstructorgetConstructor(JType[] paramTypes)
JConstructor[]getConstructors()
Annotation[]getDeclaredAnnotations()
Returns the annotations declared directly on this element; does not include any inherited annotations.
JClassTypegetEnclosingType()
JClassTypegetErasedType()
JFieldgetField(String name)
JField[]getFields()
SetgetFlattenedSupertypeHierarchy()
Returns all of the superclasses and superinterfaces for a given type including the type itself.
JClassType[]getImplementedInterfaces()
JMethod[]getInheritableMethods()
Iterates over the most-derived declaration of each unique inheritable method available in the type hierarchy of the specified type, including those found in superclasses and superinterfaces.
JMethodgetMethod(String name, JType[] paramTypes)
JMethod[]getMethods()
StringgetName()
JClassType[]getNestedTypes()
TypeOraclegetOracle()
JMethod[]getOverloads(String name)
JMethod[]getOverridableMethods()
Iterates over the most-derived declaration of each unique overridable method available in the type hierarchy of the specified type, including those found in superclasses and superinterfaces.
JPackagegetPackage()
JClassType[]getSubtypes()
JClassTypegetSuperclass()
booleanisAbstract()
booleanisAnnotationPresent(Class annotationClass)
Returns true if this item has an annotation of the specified type.
booleanisAssignableFrom(JClassType possibleSubtype)
Returns true if this JClassType is assignable from the specified JClassType parameter.
booleanisAssignableTo(JClassType possibleSupertype)
Returns true if this JClassType is assignable to the specified JClassType parameter.
booleanisDefaultInstantiable()
Determines if the class can be constructed using a simple new operation.
booleanisFinal()
booleanisLocalType()
booleanisMemberType()
Tests if this type is contained within another type.
booleanisPrivate()
booleanisProtected()
booleanisPublic()
booleanisStatic()