com.pnfsoftware.jeb.core.units.code.android.IJLSTypeAdapter |
Class Overview
An adapter for Java-like types.
Public Methods
public
abstract
List<IJLSField>
getFields
(String typename)
Parameters
typename |
a class or interface type name (binary form or jvm form) |
Returns
- a list of defined (internal) fields, null if the provided typename was not found or
does not exit
public
abstract
List<String>
getInterfaces
(String typename)
Parameters
typename |
a class or interface type name (binary form or jvm form) |
Returns
- a list of implemented interfaces (binary forms), null if the provided typename was
not found or does not exit
public
abstract
List<IJLSMethod>
getMethods
(String typename)
Retrieve all methods and constructors declared by this type (not its supertypes). If
possible, the static type initializer (<clinit>
) is also included.
Parameters
typename |
a class or interface type name (binary form or jvm form) |
Returns
- a list of defined (internal) methods, null if the provided typename was not found or
does not exit
public
abstract
List<String>
getParentTypes
(String typename)
Parameters
typename |
a class or interface type name (binary form or jvm form) |
Returns
- a list of parent types (binary forms), null if the provided typename was not found or
does not exit
public
abstract
String
getSupertype
(String typename)
Parameters
typename |
a class or interface type name (binary form or jvm form) |
Returns
- the supertype (binary form), null if the provided type was not found or does not exit
public
abstract
IJLSType
getType
(String typename)
Parameters
typename |
a class or interface type name (binary form or jvm form) |
public
abstract
List<IJLSAnnotation>
getTypeAnnotations
(String typename)
Parameters
typename |
a class or interface type name (binary form or jvm form) |
Returns
- a list of annotations attached to the type (this method does not return annotations
attached to the fields, methods, or methods' parameters defined in the queried type)