Top Fields Constructors Methods
org.glassfish.hk2.classmodel.reflect.impl

public Class ParameterImpl

extends AnnotatedElementImpl
implements Parameter
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.classmodel.reflect.Parameter, org.glassfish.hk2.classmodel.reflect.ParameterizedType, org.glassfish.hk2.classmodel.reflect.AnnotatedElement
Imports
java.util.ArrayList, .List, org.glassfish.hk2.classmodel.reflect.MethodModel, .Parameter, .Type, .ParameterizedType

Author
[email protected]

Field Summary

Modifier and TypeField and Description
private String
private final int
private final MethodModel
private final List<ParameterizedType>
private Type
private TypeProxy<?>

Constructor Summary

AccessConstructor and Description
public
ParameterImpl(int index, String name, TypeProxy<?> typeProxy, MethodModel methodModel)

public
ParameterImpl(int index, String name, MethodModel methodModel)

Method Summary

Modifier and TypeMethod and Description
public String
public int
getIndex()

Implements org.glassfish.hk2.classmodel.reflect.Parameter.getIndex.

Returns the parameter index

public MethodModel
getMethod()

Implements org.glassfish.hk2.classmodel.reflect.Parameter.getMethod.

Parameters of a method are ordered based on the method declaration.

public List<ParameterizedType>
public Type
public String
public TypeProxy<?>
public boolean
public boolean
public void
setFormalType(String formalType)

public void
setType(Type type)

public void
setTypeProxy(TypeProxy<?> typeProxy)

Inherited from org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl:
addAnnotationgetAnnotationgetAnnotationsgetNameisApplicationClasssetApplicationClassshortDesctoString

Field Detail

formalTypeback to summary
private String formalType
indexback to summary
private final int index
methodModelback to summary
private final MethodModel methodModel
parameterizedTypesback to summary
private final List<ParameterizedType> parameterizedTypes
typeback to summary
private Type type
typeProxyback to summary
private TypeProxy<?> typeProxy

Constructor Detail

ParameterImplback to summary
public ParameterImpl(int index, String name, TypeProxy<?> typeProxy, MethodModel methodModel)
ParameterImplback to summary
public ParameterImpl(int index, String name, MethodModel methodModel)

Method Detail

getFormalTypeback to summary
public String getFormalType()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.getFormalType.

Doc from org.glassfish.hk2.classmodel.reflect.ParameterizedType.getFormalType.

Returns the formal type name

Annotations
@Override
getIndexback to summary
public int getIndex()

Implements org.glassfish.hk2.classmodel.reflect.Parameter.getIndex.

Doc from org.glassfish.hk2.classmodel.reflect.Parameter.getIndex.

Returns the parameter index

Annotations
@Override
getMethodback to summary
public MethodModel getMethod()

Implements org.glassfish.hk2.classmodel.reflect.Parameter.getMethod.

Doc from org.glassfish.hk2.classmodel.reflect.Parameter.getMethod.

Parameters of a method are ordered based on the method declaration.

Annotations
@Override
getParameterizedTypesback to summary
public List<ParameterizedType> getParameterizedTypes()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.getParameterizedTypes.

Annotations
@Override
getTypeback to summary
public Type getType()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.getType.

Doc from org.glassfish.hk2.classmodel.reflect.ParameterizedType.getType.

Returns the parameter type

Annotations
@Override
getTypeNameback to summary
public String getTypeName()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.getTypeName.

Doc from org.glassfish.hk2.classmodel.reflect.ParameterizedType.getTypeName.

Returns the parameter type name

Annotations
@Override
getTypeProxyback to summary
public TypeProxy<?> getTypeProxy()
isArrayback to summary
public boolean isArray()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.isArray.

Annotations
@Override
isFormalTypeback to summary
public boolean isFormalType()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.isFormalType.

Annotations
@Override
setFormalTypeback to summary
public void setFormalType(String formalType)
setTypeback to summary
public void setType(Type type)
setTypeProxyback to summary
public void setTypeProxy(TypeProxy<?> typeProxy)