public interface

IJavaClass

implements INonStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaClass

Class Overview

Java AST interface to represent a Java class or interface. Class elements contain other classes (inner classes), fields, and methods.

Summary

Public Methods
abstract List<? extends IJavaAnnotation> getAnnotations()
Get the annotations for this type.
abstract List<? extends IJavaClass> getAnonymousClasses()
abstract List<? extends IJavaField> getFields()
This convenience method is used to retrieve the list of fields.
abstract List<? extends IJavaType> getImplementedInterfaces()
Get the implemented or extended interface types.
abstract List<? extends IJavaClass> getInnerClasses()
This convenience method is used to retrieve the list of inner classes.
abstract List<? extends IJavaMethod> getMethods()
This convenience method is used to retrieve the list of methods.
abstract String getName()
Get the type name.
abstract IJavaType getSupertype()
Get the super type.
abstract IJavaType getType()
Get the class or interface type.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract List<? extends IJavaAnnotation> getAnnotations ()

Get the annotations for this type.

public abstract List<? extends IJavaClass> getAnonymousClasses ()

public abstract List<? extends IJavaField> getFields ()

This convenience method is used to retrieve the list of fields.

Returns
  • the list of fields

public abstract List<? extends IJavaType> getImplementedInterfaces ()

Get the implemented or extended interface types.

public abstract List<? extends IJavaClass> getInnerClasses ()

This convenience method is used to retrieve the list of inner classes.

Returns
  • the list of inner classes

public abstract List<? extends IJavaMethod> getMethods ()

This convenience method is used to retrieve the list of methods.

Returns
  • the list of methods

public abstract String getName ()

Get the type name. The name is a fully-qualified Java name, such as: Lcom/foo/Bar;

Returns
  • the class name

public abstract IJavaType getSupertype ()

Get the super type.

public abstract IJavaType getType ()

Get the class or interface type.

Returns
  • the type