Code Search for Developers
 
 
  

CMMethod.html from Compiere Monitor at Krugle


Show CMMethod.html syntax highlighted

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 27 15:11:06 CEST 2006 -->
<TITLE>
CMMethod
</TITLE>

<META NAME="keywords" CONTENT="de.edu.tuberlin.compiereMonitor.classManagement.CMMethod class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="CMMethod";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CMMethod.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.CMParameter.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CMMethod.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
de.edu.tuberlin.compiereMonitor.classManagement</FONT>
<BR>
Class CMMethod</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>de.edu.tuberlin.compiereMonitor.classManagement.CMMethod</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>CMMethod</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
</PRE>

<P>
A Wrapperclass which represents the data of a loaded <code>Method</code>
<P>

<P>
<DL>
<DT><B>Version:</B></DT>
  <DD>$Id: CMMethod.html,v 1.1 2006/09/05 20:47:57 oliver_zzx Exp $</DD>
<DT><B>Author:</B></DT>
  <DD>Oliver Neumann (beast@cs.tu-berlin.de)
                                Technical University Berlin, Germany</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#de.edu.tuberlin.compiereMonitor.classManagement.CMMethod">Serialized Form</A></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.CMParameter.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMMethod.CMParameter</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inner Class that represents a parameter of the enclosing method</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#methName">methName</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name of the method</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#modifier">modifier</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The modifier for this mehthod</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.CMParameter.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMMethod.CMParameter</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#paramClasses">paramClasses</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Array of classnames that are used as parameters for this method</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#returnType">returnType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Classname of the returntype</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#returnTypeShort">returnTypeShort</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The shortened classname of the returntype</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#serialVersionUID">serialVersionUID</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMClass.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMClass</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#sourceClass">sourceClass</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The enclosing <code>CMClass</code> of this method</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#CMMethod(java.lang.reflect.Method, de.edu.tuberlin.compiereMonitor.classManagement.CMClass)">CMMethod</A></B>(java.lang.reflect.Method&nbsp;meth,
         <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMClass.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMClass</A>&nbsp;sourceClass)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Standard Constructor</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getMethName()">getMethName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getMethNameParam()">getMethNameParam</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the methodname including its parameters</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getMethodDefinition(boolean, boolean)">getMethodDefinition</A></B>(boolean&nbsp;showVisibility,
                    boolean&nbsp;showReturnType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives the full method-descriptor with full classnames. static/abstract-flag will get be hidden</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getMethodDefinition(boolean, boolean, boolean, boolean, boolean)">getMethodDefinition</A></B>(boolean&nbsp;showVisibility,
                    boolean&nbsp;showReturnType,
                    boolean&nbsp;showAbstract,
                    boolean&nbsp;showStatic,
                    boolean&nbsp;useShortClass)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives the full method-descriptor with full classnames.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getMethodDefinition(boolean, boolean, boolean, boolean, boolean, boolean)">getMethodDefinition</A></B>(boolean&nbsp;showVisibility,
                    boolean&nbsp;showReturnType,
                    boolean&nbsp;showAbstract,
                    boolean&nbsp;showStatic,
                    boolean&nbsp;showFinal,
                    boolean&nbsp;useShortClass)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives the full method-descriptor with full classnames</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getMethodDefinitionShort(boolean, boolean)">getMethodDefinitionShort</A></B>(boolean&nbsp;showVisibility,
                         boolean&nbsp;showReturnType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the midlong version of the full method name (without packagenames)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getModifier()">getModifier</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getParameters()">getParameters</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gets the list of parameterclasses</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getReturnType()">getReturnType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getReturnTypeShort()">getReturnTypeShort</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMClass.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMClass</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#getSourceClass()">getSourceClass</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#isAbstract()">isAbstract</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if this method is defined as Abstract</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#isFinal()">isFinal</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if this method is defined as final</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#isPrivate()">isPrivate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if this method is defined as Private</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#isProtected()">isProtected</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if this method is defined as Protected</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#isPublic()">isPublic</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if this method is defined as Public</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html#isStatic()">isStatic</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if this method is defined as static</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="serialVersionUID"><!-- --></A><H3>
serialVersionUID</H3>
<PRE>
public static final long <B>serialVersionUID</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#de.edu.tuberlin.compiereMonitor.classManagement.CMMethod.serialVersionUID">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="methName"><!-- --></A><H3>
methName</H3>
<PRE>
private java.lang.String <B>methName</B></PRE>
<DL>
<DD>Name of the method
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="modifier"><!-- --></A><H3>
modifier</H3>
<PRE>
private int <B>modifier</B></PRE>
<DL>
<DD>The modifier for this mehthod
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="paramClasses"><!-- --></A><H3>
paramClasses</H3>
<PRE>
private <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.CMParameter.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMMethod.CMParameter</A>[] <B>paramClasses</B></PRE>
<DL>
<DD>Array of classnames that are used as parameters for this method
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="returnType"><!-- --></A><H3>
returnType</H3>
<PRE>
private java.lang.String <B>returnType</B></PRE>
<DL>
<DD>Classname of the returntype
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="returnTypeShort"><!-- --></A><H3>
returnTypeShort</H3>
<PRE>
private java.lang.String <B>returnTypeShort</B></PRE>
<DL>
<DD>The shortened classname of the returntype
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="sourceClass"><!-- --></A><H3>
sourceClass</H3>
<PRE>
private <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMClass.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMClass</A> <B>sourceClass</B></PRE>
<DL>
<DD>The enclosing <code>CMClass</code> of this method
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="CMMethod(java.lang.reflect.Method, de.edu.tuberlin.compiereMonitor.classManagement.CMClass)"><!-- --></A><H3>
CMMethod</H3>
<PRE>
public <B>CMMethod</B>(java.lang.reflect.Method&nbsp;meth,
                <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMClass.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMClass</A>&nbsp;sourceClass)</PRE>
<DL>
<DD>Standard Constructor
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>meth</CODE> - Source Method-object to create this object for<DD><CODE>sourceClass</CODE> - The enclosing <code>CMClass</code> of this method</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getMethNameParam()"><!-- --></A><H3>
getMethNameParam</H3>
<PRE>
public java.lang.String <B>getMethNameParam</B>()</PRE>
<DL>
<DD>Gets the methodname including its parameters
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>The methodname with parameterlist - classnames are in shortversion</DL>
</DD>
</DL>
<HR>

<A NAME="getMethName()"><!-- --></A><H3>
getMethName</H3>
<PRE>
public java.lang.String <B>getMethName</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Returns the plain methName.</DL>
</DD>
</DL>
<HR>

<A NAME="getMethodDefinitionShort(boolean, boolean)"><!-- --></A><H3>
getMethodDefinitionShort</H3>
<PRE>
public java.lang.String <B>getMethodDefinitionShort</B>(boolean&nbsp;showVisibility,
                                                 boolean&nbsp;showReturnType)</PRE>
<DL>
<DD>Returns the midlong version of the full method name (without packagenames)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>showVisibility</CODE> - If true, the visibility of the method gets shown, else not<DD><CODE>showReturnType</CODE> - If true, the returntype of the method gets shown, else not
<DT><B>Returns:</B><DD>midlong methodname</DL>
</DD>
</DL>
<HR>

<A NAME="getMethodDefinition(boolean, boolean)"><!-- --></A><H3>
getMethodDefinition</H3>
<PRE>
public java.lang.String <B>getMethodDefinition</B>(boolean&nbsp;showVisibility,
                                            boolean&nbsp;showReturnType)</PRE>
<DL>
<DD>Gives the full method-descriptor with full classnames. static/abstract-flag will get be hidden
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>showVisibility</CODE> - If true, the visibility of the method gets shown, else not<DD><CODE>showReturnType</CODE> - If true, the returntype of the method gets shown, else not
<DT><B>Returns:</B><DD>full methoddescriptor</DL>
</DD>
</DL>
<HR>

<A NAME="getMethodDefinition(boolean, boolean, boolean, boolean, boolean)"><!-- --></A><H3>
getMethodDefinition</H3>
<PRE>
public java.lang.String <B>getMethodDefinition</B>(boolean&nbsp;showVisibility,
                                            boolean&nbsp;showReturnType,
                                            boolean&nbsp;showAbstract,
                                            boolean&nbsp;showStatic,
                                            boolean&nbsp;useShortClass)</PRE>
<DL>
<DD>Gives the full method-descriptor with full classnames.
 Final flag gets hidden
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>showVisibility</CODE> - If true, the visibility of the method gets shown, else not<DD><CODE>showReturnType</CODE> - If true, the returntype of the method gets shown, else not<DD><CODE>showAbstract</CODE> - If true, the abstract-flag is getting shown<DD><CODE>showStatic</CODE> - If true, the statis-flag is getting shown<DD><CODE>useShortClass</CODE> - If true, the classnames are shortened
<DT><B>Returns:</B><DD>full methoddescriptor</DL>
</DD>
</DL>
<HR>

<A NAME="getMethodDefinition(boolean, boolean, boolean, boolean, boolean, boolean)"><!-- --></A><H3>
getMethodDefinition</H3>
<PRE>
public java.lang.String <B>getMethodDefinition</B>(boolean&nbsp;showVisibility,
                                            boolean&nbsp;showReturnType,
                                            boolean&nbsp;showAbstract,
                                            boolean&nbsp;showStatic,
                                            boolean&nbsp;showFinal,
                                            boolean&nbsp;useShortClass)</PRE>
<DL>
<DD>Gives the full method-descriptor with full classnames
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>showVisibility</CODE> - If true, the visibility of the method gets shown, else not<DD><CODE>showReturnType</CODE> - If true, the returntype of the method gets shown, else not<DD><CODE>showAbstract</CODE> - If true, the abstract-flag is getting shown, else not<DD><CODE>showStatic</CODE> - If true, the statis-flag is getting shown, else not<DD><CODE>showFinal</CODE> - If true, the final-flag is getting shown, else not<DD><CODE>useShortClass</CODE> - If true, the classnames are shortened
<DT><B>Returns:</B><DD>full methoddescriptor</DL>
</DD>
</DL>
<HR>

<A NAME="getParameters()"><!-- --></A><H3>
getParameters</H3>
<PRE>
public java.lang.String[] <B>getParameters</B>()</PRE>
<DL>
<DD>gets the list of parameterclasses
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Names of each of the parameter-classes</DL>
</DD>
</DL>
<HR>

<A NAME="getReturnType()"><!-- --></A><H3>
getReturnType</H3>
<PRE>
public java.lang.String <B>getReturnType</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Returns the returnType.</DL>
</DD>
</DL>
<HR>

<A NAME="getReturnTypeShort()"><!-- --></A><H3>
getReturnTypeShort</H3>
<PRE>
public java.lang.String <B>getReturnTypeShort</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Returns the returnTypeShort.</DL>
</DD>
</DL>
<HR>

<A NAME="getSourceClass()"><!-- --></A><H3>
getSourceClass</H3>
<PRE>
public <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMClass.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMClass</A> <B>getSourceClass</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Returns the sourceClass.</DL>
</DD>
</DL>
<HR>

<A NAME="getModifier()"><!-- --></A><H3>
getModifier</H3>
<PRE>
public int <B>getModifier</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Returns the modifier.</DL>
</DD>
</DL>
<HR>

<A NAME="isPrivate()"><!-- --></A><H3>
isPrivate</H3>
<PRE>
public boolean <B>isPrivate</B>()</PRE>
<DL>
<DD>Checks if this method is defined as Private
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Defined as Private if true</DL>
</DD>
</DL>
<HR>

<A NAME="isPublic()"><!-- --></A><H3>
isPublic</H3>
<PRE>
public boolean <B>isPublic</B>()</PRE>
<DL>
<DD>Checks if this method is defined as Public
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Defined as Public if true</DL>
</DD>
</DL>
<HR>

<A NAME="isProtected()"><!-- --></A><H3>
isProtected</H3>
<PRE>
public boolean <B>isProtected</B>()</PRE>
<DL>
<DD>Checks if this method is defined as Protected
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Defined as Protected if true</DL>
</DD>
</DL>
<HR>

<A NAME="isAbstract()"><!-- --></A><H3>
isAbstract</H3>
<PRE>
public boolean <B>isAbstract</B>()</PRE>
<DL>
<DD>Checks if this method is defined as Abstract
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Defined as Abstract if true</DL>
</DD>
</DL>
<HR>

<A NAME="isStatic()"><!-- --></A><H3>
isStatic</H3>
<PRE>
public boolean <B>isStatic</B>()</PRE>
<DL>
<DD>Checks if this method is defined as static
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Defined as static if true</DL>
</DD>
</DL>
<HR>

<A NAME="isFinal()"><!-- --></A><H3>
isFinal</H3>
<PRE>
public boolean <B>isFinal</B>()</PRE>
<DL>
<DD>Checks if this method is defined as final
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Defined as final if true</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CMMethod.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.CMParameter.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?de/edu/tuberlin/compiereMonitor/classManagement/CMMethod.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CMMethod.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>




See more files for this project here

Compiere Monitor

This project extends the Open-Source ERP-System Compiere(R) with aspectorientation. Its using the aspectoriented language ObjectTeams/Java and was developed within a diploma-thesis at the Technical University Berlin, Germany.

Project homepage: http://sourceforge.net/projects/compieremonitor
Programming language(s): Java
License: gpl2

  class-use/
    CMArray.html
    CMClass.html
    CMField.html
    CMJar.html
    CMMethod.CMParameter.html
    CMMethod.html
    CMPackage.html
    CMPrimitive.html
    JarManagement.html
  CMArray.html
  CMClass.html
  CMField.html
  CMJar.html
  CMMethod.CMParameter.html
  CMMethod.html
  CMPackage.html
  CMPrimitive.html
  JarManagement.html
  package-frame.html
  package-summary.html
  package-tree.html
  package-use.html