Class FormalParameter
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.declaration.FormalParameter
-
- All Implemented Interfaces:
java.lang.Iterable<FormalParameter>
,BaseFormalParameter
,Declaration
,Base<FormalParameter>
- Direct Known Subclasses:
ClassFileFormalParameter
public class FormalParameter extends java.lang.Object implements BaseFormalParameter
-
-
Field Summary
Fields Modifier and Type Field Description protected BaseAnnotationReference
annotationReferences
protected boolean
fina1
protected java.lang.String
name
protected Type
type
protected boolean
varargs
-
Fields inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_BRIDGE, FLAG_DEFAULT, FLAG_ENUM, FLAG_FINAL, FLAG_INTERFACE, FLAG_MANDATED, FLAG_MODULE, FLAG_NATIVE, FLAG_OPEN, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STATIC_PHASE, FLAG_STRICT, FLAG_SUPER, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_TRANSITIVE, FLAG_VARARGS, FLAG_VOLATILE
-
-
Constructor Summary
Constructors Constructor Description FormalParameter(BaseAnnotationReference annotationReferences, Type type, boolean varargs, java.lang.String name)
FormalParameter(BaseAnnotationReference annotationReferences, Type type, java.lang.String name)
FormalParameter(Type type, boolean varargs, java.lang.String name)
FormalParameter(Type type, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(DeclarationVisitor visitor)
BaseAnnotationReference
getAnnotationReferences()
java.lang.String
getName()
Type
getType()
boolean
isFinal()
boolean
isVarargs()
void
setFinal(boolean fina1)
void
setName(java.lang.String name)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
annotationReferences
protected BaseAnnotationReference annotationReferences
-
fina1
protected boolean fina1
-
type
protected Type type
-
varargs
protected boolean varargs
-
name
protected java.lang.String name
-
-
Constructor Detail
-
FormalParameter
public FormalParameter(Type type, java.lang.String name)
-
FormalParameter
public FormalParameter(BaseAnnotationReference annotationReferences, Type type, java.lang.String name)
-
FormalParameter
public FormalParameter(Type type, boolean varargs, java.lang.String name)
-
FormalParameter
public FormalParameter(BaseAnnotationReference annotationReferences, Type type, boolean varargs, java.lang.String name)
-
-
Method Detail
-
getAnnotationReferences
public BaseAnnotationReference getAnnotationReferences()
-
isFinal
public boolean isFinal()
-
setFinal
public void setFinal(boolean fina1)
-
getType
public Type getType()
-
isVarargs
public boolean isVarargs()
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
accept
public void accept(DeclarationVisitor visitor)
- Specified by:
accept
in interfaceDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-