package bluej.parser;

import java.util.Collections;
import java.util.List;

import bluej.debugger.gentype.GenTypeDeclTpar;
import bluej.debugger.gentype.JavaType;
import bluej.debugger.gentype.Reflective;


| Created by neil on 08/09/15. | public class ConstructorOrMethodReflective { protected Reflective declaringType; protected int modifiers; protected List<GenTypeDeclTpar> tparTypes; protected List<String> paramNames; protected List<JavaType> paramTypes; protected boolean isVarArgs; protected String javaDoc; public Reflective getDeclaringType() { return declaringType; }
| Get the method parameter types. For a varargs method, the last parameter type returned is | the element type, not the array type. | public List getParamTypes() { return paramTypes; }
| Get the method type parameters. If the method has no type parameters, | returns an empty list. | public List getTparTypes() { return tparTypes == null ? Collections.<GenTypeDeclTpar>emptyList() : tparTypes; }
| Get the method modifiers as a bitmask. | | @see java.lang.reflect.Modifier | public int getModifiers() { return modifiers; } public boolean isVarArgs() { return isVarArgs; }
| Get the parameter names for this method, if known. | @return A list of the parameter names in order, or null if the parameter names are | not known. | public List getParamNames() { return paramNames; }
| Set the javadoc for this method. | public void setJavaDoc(String javaDoc) { this.javaDoc = javaDoc; }
| Get the javadoc for this method. Returns null if not available | (if it has not been set). | public String getJavaDoc() { return javaDoc; }
| Set the parameter names for this method. | @param paramNames A list of parameter names. The MethodReflective takes ownership | of the given list (it should not be later modified). | public void setParamNames(List<String> paramNames) { this.paramNames = paramNames; } }
top, use, map, class ConstructorOrMethodReflective

.   getDeclaringType
.   getParamTypes
.   getTparTypes
.   getModifiers
.   isVarArgs
.   getParamNames
.   setJavaDoc
.   getJavaDoc
.   setParamNames




90 neLoCode + 16 LoComm