org.apache.ws.jaxme.js

Class JavaMethod

public class JavaMethod extends AbstractJavaMethod

Implements a Java method.

Author: Jochen Wiedmann

Method Summary
StringgetLoggingSignature()

Returns the abbreviated method signature: The method name, followed by the parameter types.

booleanisSynchronized()

Returns whether this method is synchronized.

booleanisVoid()

Returns whether the JavaMethod is void.

voidsetSynchronized(boolean pSynchronized)

Sets whether this method is synchronized.

protected voidwriteHeader(IndentationTarget pTarget)

Adds a header line.

Method Detail

getLoggingSignature

public String getLoggingSignature()

Returns the abbreviated method signature: The method name, followed by the parameter types. This is typically used in logging statements.

isSynchronized

public boolean isSynchronized()

Returns whether this method is synchronized.

isVoid

public boolean isVoid()

Returns whether the JavaMethod is void.

setSynchronized

public void setSynchronized(boolean pSynchronized)

Sets whether this method is synchronized.

writeHeader

protected void writeHeader(IndentationTarget pTarget)

Adds a header line.