Class ExceptionAttribute
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
org.aspectj.org.eclipse.jdt.internal.core.util.ExceptionAttribute
- All Implemented Interfaces:
IClassFileAttribute
,IExceptionAttribute
Default implementation of IExceptionAttribute.
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
-
Method Summary
Modifier and TypeMethodDescriptionint[]
Answer back the exception indexes of the exception attribute.char[][]
Answer back the exception names of the exception attribute.int
Answer back the number of exceptions of the exception attribute.Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Method Details
-
getExceptionIndexes
public int[] getExceptionIndexes()Description copied from interface:IExceptionAttribute
Answer back the exception indexes of the exception attribute. Answers an empty collection if none.- Specified by:
getExceptionIndexes
in interfaceIExceptionAttribute
- Returns:
- the exception indexes of the exception attribute. Answers an empty collection if none
- See Also:
IExceptionAttribute.getExceptionIndexes()
-
getExceptionNames
public char[][] getExceptionNames()Description copied from interface:IExceptionAttribute
Answer back the exception names of the exception attribute. Answers an empty collection if none.- Specified by:
getExceptionNames
in interfaceIExceptionAttribute
- Returns:
- the exception names of the exception attribute. Answers an empty collection if none
- See Also:
IExceptionAttribute.getExceptionNames()
-
getExceptionsNumber
public int getExceptionsNumber()Description copied from interface:IExceptionAttribute
Answer back the number of exceptions of the exception attribute.- Specified by:
getExceptionsNumber
in interfaceIExceptionAttribute
- Returns:
- the number of exceptions of the exception attribute
- See Also:
IExceptionAttribute.getExceptionsNumber()
-