Class MethodDef

java.lang.Object
com.thoughtworks.qdox.parser.structs.LocatedDef
com.thoughtworks.qdox.parser.structs.MethodDef

public class MethodDef extends LocatedDef
  • Field Details

    • name

      private String name
    • typeParams

      private List<TypeVariableDef> typeParams
    • returnType

      private TypeDef returnType
    • modifiers

      private Set<String> modifiers
    • exceptions

      private Set<TypeDef> exceptions
    • constructor

      private boolean constructor
    • dimensions

      private int dimensions
    • body

      private String body
  • Constructor Details

    • MethodDef

      public MethodDef()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • setReturnType

      public void setReturnType(TypeDef returnType)
    • getReturnType

      public TypeDef getReturnType()
    • setModifiers

      public void setModifiers(Set<String> modifiers)
    • getModifiers

      public Set<String> getModifiers()
    • setConstructor

      public void setConstructor(boolean constructor)
    • isConstructor

      public boolean isConstructor()
    • setBody

      public void setBody(String body)
    • getBody

      public String getBody()
    • setDimensions

      public void setDimensions(int dimensions)
    • getDimensions

      public int getDimensions()
    • setExceptions

      public void setExceptions(Set<TypeDef> exceptions)
    • getExceptions

      public Set<TypeDef> getExceptions()
    • setTypeParams

      public void setTypeParams(List<TypeVariableDef> typeParams)
    • getTypeParams

      public List<TypeVariableDef> getTypeParams()