|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.cpp.tools.common.Signature
A C or C++ method signature with the ability to parse it. TODO: properly
support variable length argument lists using "..." TODO: passing or returning
function pointers (hopefully not needed) TODO: Cope with ~
Method Summary
boolean
equals(java.lang.Object obj)
boolean
failed()
java.lang.String
getAttributes()
java.lang.String
getClassName()
java.lang.String
getMethodName()
java.lang.String
getNamespace()
java.lang.String
getOriginal()
Parameter[]
getParameters()
Parameter
getReturnType()
java.lang.String
getScope()
java.lang.String
getTrimClassName()
boolean
isConstructor()
boolean
isDestructor()
int
originalLength()
void
setNamespace(java.lang.String namespace)
void
setScope(java.lang.String scope)
Sets the scope, but only if the scope is not set by an explicit attribute
in the signature.
java.lang.String
toString()
java.lang.String
toStringWithoutAttrs()
boolean
traceable()
Should this method be traced?
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Method Detail
getOriginal
public java.lang.String getOriginal()
originalLength
public int originalLength()
failed
public boolean failed()
getAttributes
public java.lang.String getAttributes()
getClassName
public java.lang.String getClassName()
setNamespace
public void setNamespace(java.lang.String namespace)
namespace
- The namespace to set.
getNamespace
public java.lang.String getNamespace()
getTrimClassName
public java.lang.String getTrimClassName()
getMethodName
public java.lang.String getMethodName()
getReturnType
public Parameter getReturnType()
getParameters
public Parameter[] getParameters()
isConstructor
public boolean isConstructor()
isDestructor
public boolean isDestructor()
getScope
public java.lang.String getScope()
setScope
public void setScope(java.lang.String scope)
traceable
public boolean traceable()
equals
public boolean equals(java.lang.Object obj)
toStringWithoutAttrs
public java.lang.String toStringWithoutAttrs()
toString
public java.lang.String toString()
Overview
Package
Class
Use
Tree
Serialized
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved