/[classpath]/classpath/gnu/classpath/jdwp/util/Signature.java
ViewVC logotype

Diff of /classpath/gnu/classpath/jdwp/util/Signature.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mark, Sat Jul 2 20:32:10 2005 UTC revision 1.3 by aluchko, Thu Jul 7 23:05:32 2005 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39    
40  package gnu.classpath.jdwp.util;  package gnu.classpath.jdwp.util;
41    
42    import java.lang.reflect.Field;
43  import java.lang.reflect.Method;  import java.lang.reflect.Method;
44    
45  /**  /**
# Line 64  public class Signature Line 65  public class Signature
65    }    }
66    
67    /**    /**
68       * Computes the field signature which is just the class signature of the
69       * field's type, ie a Field of type java.lang.String this will return
70       * "Ljava/lang/String;".
71       *
72       * @param field  the field for which to compute the signature
73       * @return       the field's type signature
74       */
75      public static String computeFieldSignature (Field field)
76      {
77        return computeClassSignature (field.getType());
78      }
79    
80      /**
81     * Computes the method signature, i.e., java.lang.String.split (String, int)     * Computes the method signature, i.e., java.lang.String.split (String, int)
82     * returns "(Ljava/lang/String;I)[Ljava/lang/String;"     * returns "(Ljava/lang/String;I)[Ljava/lang/String;"
83     *     *

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26