org.cojen.classfile
Class Descriptor
java.lang.Object
org.cojen.classfile.Descriptor
- Direct Known Subclasses:
- MethodDesc, TypeDesc
public abstract class Descriptor
- extends Object
This class represents a descriptor. See section 4.3 of
The Java Virtual Machine Specification.
- Author:
- Brian S O'Neill
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Descriptor
public Descriptor()
getDescriptor
public abstract String getDescriptor()
- Returns a descriptor string, excluding generics.
parse
public static Descriptor parse(String desc)
throws IllegalArgumentException
- Returns a descriptor string, including any generics.
- Throws:
IllegalArgumentException
Copyright © 2004-2011 Brian S O'Neill. All Rights Reserved.