Top Description Fields Constructors Methods
org.eclipse.persistence.internal.codegen

public Class ReflectiveMethodDefinition

extends MethodDefinition
Class Inheritance
Imports
java.util.Iterator, .Vector

INTERNAL:

Purpose: Model a method for code generation purposes, using java.lang.Class for the parameter types.

Author
Paul Fullbright
Since
TopLink 5.0

Field Summary

Modifier and TypeField and Description
protected Vector<Class<?>>
protected Class<?>
Inherited from org.eclipse.persistence.internal.codegen.MethodDefinition:
argumentNamesexceptionsisAbstractisConstructorlinesreturnTypestoredBuffer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addArgument(Class<?> argumentType, String argumentName)

protected boolean
protected Vector<String>
public Vector<String>
public String
public Class<?>
public void
protected void
Inherited from org.eclipse.persistence.internal.codegen.MethodDefinition:
addExceptionaddLineaddToBufferadjustTypeNamesargumentNamesargumentNamesSizeequalsexceptionsEqualgetArgumentNamegetArgumentNamesgetExceptionsgetLineshashCodeisAbstractisConstructorputTypeNamesInMapreplaceExceptionreplaceLinesetIsAbstractsetIsConstructorsetReturnTypewriteBodywriteThrowsClause

Field Detail

argumentTypesback to summary
protected Vector<Class<?>> argumentTypes
typeback to summary
protected Class<?> type

Constructor Detail

ReflectiveMethodDefinitionback to summary
public ReflectiveMethodDefinition()

Method Detail

addArgumentback to summary
public void addArgument(Class<?> argumentType, String argumentName)
argumentsEqualback to summary
protected boolean argumentsEqual(MethodDefinition methodDefinition)

Implements abstract org.eclipse.persistence.internal.codegen.MethodDefinition.argumentsEqual.

Annotations
@Override
getArgumentTypeNamesback to summary
protected Vector<String> getArgumentTypeNames()

Implements abstract org.eclipse.persistence.internal.codegen.MethodDefinition.getArgumentTypeNames.

Annotations
@Override
getArgumentTypesback to summary
public Vector<String> getArgumentTypes()

Implements abstract org.eclipse.persistence.internal.codegen.MethodDefinition.getArgumentTypes.

Annotations
@Override
getReturnTypeback to summary
public String getReturnType()

Overrides org.eclipse.persistence.internal.codegen.MethodDefinition.getReturnType.

Annotations
@Override
getReturnTypeClassback to summary
public Class<?> getReturnTypeClass()
setReturnTypeClassback to summary
public void setReturnTypeClass(Class<?> type)
writeArgumentsback to summary
protected void writeArguments(CodeGenerator generator)

Implements abstract org.eclipse.persistence.internal.codegen.MethodDefinition.writeArguments.

Annotations
@Override