Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
caa54b82
Commit
caa54b82
authored
Jul 07, 2005
by
Aaron Luchko
Committed by
Aaron Luchko
Jul 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gnu/classpath/jdwp/util/Signature.java
(computeFieldSignature): New Method. From-SVN: r101745
parent
5b59ff3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
libjava/ChangeLog
+5
-0
libjava/gnu/classpath/jdwp/util/Signature.java
+14
-0
No files found.
libjava/ChangeLog
View file @
caa54b82
2005
-
07
-
07
Aaron
Luchko
<
aluchko
@
redhat
.
com
>
*
gnu
/
classpath
/
jdwp
/
util
/
Signature
.
java
(
computeFieldSignature
):
New
Method
.
2005
-
07
-
07
Aaron
Luchko
<
aluchko
@
redhat
.
com
>
*
gnu
/
classpath
/
jdwp
/
processor
/
ReferenceTypeCommandSet
.
java
:
New
file
.
...
...
libjava/gnu/classpath/jdwp/util/Signature.java
View file @
caa54b82
...
...
@@ -39,6 +39,7 @@ exception statement from your version. */
package
gnu
.
classpath
.
jdwp
.
util
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Method
;
/**
...
...
@@ -64,6 +65,19 @@ public class Signature
}
/**
* Computes the field signature which is just the class signature of the
* field's type, ie a Field of type java.lang.String this will return
* "Ljava/lang/String;".
*
* @param field the field for which to compute the signature
* @return the field's type signature
*/
public
static
String
computeFieldSignature
(
Field
field
)
{
return
computeClassSignature
(
field
.
getType
());
}
/**
* Computes the method signature, i.e., java.lang.String.split (String, int)
* returns "(Ljava/lang/String;I)[Ljava/lang/String;"
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment