Class JConstructor

public class JConstructor
extends JAbstractMethod

Constructors

JConstructor(TypeOracle, JClassType, String, int, int, int, int)

Methods

getEnclosingType()Gets the type in which this method or constructor was declared.
getReadableDeclaration()
isConstructor()
isMethod()
toString()

Constructor Detail

JConstructor

public JConstructor(TypeOracle oracle, JClassType enclosingType, String name, int declStart, int declEnd, int bodyStart, int bodyEnd)

Parameters

oracle
enclosingType
name
declStart
declEnd
bodyStart
bodyEnd

Method Detail

getEnclosingType

public abstract JClassType getEnclosingType()
Gets the type in which this method or constructor was declared.

getReadableDeclaration

public abstract String getReadableDeclaration()

isConstructor

public abstract JConstructor isConstructor()

isMethod

public abstract JMethod isMethod()

toString

public String toString()