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<String> getAnonymousClassSignatures()
abstract List<? extends IJavaClass> getAnonymousClasses()
abstract List<String> getFieldSignatures()
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<String> getInnerClassSignatures()
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 List<String> getMethodsSignatures()
abstract String getName()
Get the type name.
abstract String getSignature()
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<String> getAnonymousClassSignatures ()

public abstract List<? extends IJavaClass> getAnonymousClasses ()

public abstract List<String> getFieldSignatures ()

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<String> getInnerClassSignatures ()

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 List<String> getMethodsSignatures ()

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 String getSignature ()

public abstract IJavaType getSupertype ()

Get the super type.

public abstract IJavaType getType ()

Get the class or interface type.

Returns
  • the type