ariba.util.fieldtype
Class JavaTypeProvider.JavaMethodInfo

java.lang.Object
  extended by ariba.util.fieldtype.JavaTypeProvider.JavaMethodInfo
All Implemented Interfaces:
MethodInfo, PropertyInfo, java.lang.Cloneable
Enclosing class:
JavaTypeProvider

public static class JavaTypeProvider.JavaMethodInfo
extends java.lang.Object
implements MethodInfo, java.lang.Cloneable


Method Summary
 int getAccessibility()
           
 java.lang.String getFirstArgumentClassName()
          if annotation is set, returns the firstArgumentClassName that was set.
 java.lang.reflect.Method getMethod()
           
 java.lang.String getMungedName()
           
 java.lang.String getName()
           
 java.util.List<TypeInfo> getParameters(TypeRetriever retriever)
          Returns a List of TypeInfos for all the parameters of this.
 TypeInfo getParentType()
           
 TypeInfo getReturnType(TypeRetriever retriever)
          Returns the return type as TypeInfo of this.
 TypeInfo getType(TypeRetriever retriever)
           
 boolean isStatic()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFirstArgumentClassName

public java.lang.String getFirstArgumentClassName()
if annotation is set, returns the firstArgumentClassName that was set.

Returns:
could be null

getName

public java.lang.String getName()
Specified by:
getName in interface PropertyInfo

getMungedName

public java.lang.String getMungedName()

isStatic

public boolean isStatic()
Specified by:
isStatic in interface MethodInfo

getMethod

public java.lang.reflect.Method getMethod()

getParameters

public java.util.List<TypeInfo> getParameters(TypeRetriever retriever)
Returns a List of TypeInfos for all the parameters of this. Empty list would be returned if there is no parameter. If any parameter type cannot be retrieved, it returns null.

Specified by:
getParameters in interface MethodInfo

getReturnType

public TypeInfo getReturnType(TypeRetriever retriever)
Returns the return type as TypeInfo of this. If there is no return type, it returns a void class. If the return type exists but cannot be found, it returns null.

Specified by:
getReturnType in interface MethodInfo

getType

public TypeInfo getType(TypeRetriever retriever)
Specified by:
getType in interface PropertyInfo

getAccessibility

public int getAccessibility()
Specified by:
getAccessibility in interface PropertyInfo

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getParentType

public TypeInfo getParentType()
Specified by:
getParentType in interface PropertyInfo


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.