ClassChecker
public class BytecodeChecker extends Object implements ClassChecker
Constructor | Description |
---|---|
BytecodeChecker(byte[] buffer) |
Modifier and Type | Method | Description |
---|---|---|
int |
getBytesize() |
|
String |
getInterface(int idx) |
identify the name of a specific interface in the implements list of this class
|
int |
getInterfaceCount() |
identify how many interfaces are in the implements list of this class
|
String |
getSuper() |
identify the name of the super class for the checked class
|
boolean |
hasOuterClass() |
identify if the checked class is embedded in an outer class
|
boolean |
isInterface() |
see if the checked class is an interface or really a class
|
public boolean isInterface()
ClassChecker
isInterface
in interface ClassChecker
public String getSuper()
ClassChecker
getSuper
in interface ClassChecker
public boolean hasOuterClass()
ClassChecker
hasOuterClass
in interface ClassChecker
public int getInterfaceCount()
ClassChecker
getInterfaceCount
in interface ClassChecker
public String getInterface(int idx)
ClassChecker
getInterface
in interface ClassChecker
idx
- the index of the interface in the listpublic int getBytesize()
Copyright © 2018. All rights reserved.