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

public Class NonreflectiveMethodDefinition

extends MethodDefinition
Class Inheritance
Imports
java.util.*

INTERNAL:

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

Author
Paul Fullbright
Since
TopLink 5.0

Field Summary

Modifier and TypeField and Description
protected Vector<String>
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(String argumentType, String argumentName)

private void
protected void
protected boolean
protected Vector<String>
public Vector<String>
protected void
replaceArgumentTypeName(String oldArgumentTypeName, String newArgumentTypeName)

protected void
Inherited from org.eclipse.persistence.internal.codegen.MethodDefinition:
addExceptionaddLineaddToBufferargumentNamesargumentNamesSizeequalsexceptionsEqualgetArgumentNamegetArgumentNamesgetExceptionsgetLinesgetReturnTypehashCodeisAbstractisConstructorputTypeNamesInMapreplaceExceptionreplaceLinesetIsAbstractsetIsConstructorsetReturnTypewriteBodywriteThrowsClause

Field Detail

argumentTypeNamesback to summary
protected Vector<String> argumentTypeNames

Constructor Detail

NonreflectiveMethodDefinitionback to summary
public NonreflectiveMethodDefinition()

Method Detail

addArgumentback to summary
public void addArgument(String argumentType, String argumentName)
adjustArgumentTypeNamesback to summary
private void adjustArgumentTypeNames(Map<String, Set<String>> typeNameMap)
adjustTypeNamesback to summary
protected void adjustTypeNames(Map<String, Set<String>> typeNameMap)

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

Annotations
@Override
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
replaceArgumentTypeNameback to summary
protected void replaceArgumentTypeName(String oldArgumentTypeName, String newArgumentTypeName)
writeArgumentsback to summary
protected void writeArguments(CodeGenerator generator)

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

Annotations
@Override