More assertions
This commit is contained in:
@@ -15,6 +15,11 @@ public class Annotations extends Attribute
|
||||
{
|
||||
super(attributes, AttributeType.RUNTIMEVISIBLEANNOTATIONS);
|
||||
}
|
||||
|
||||
public List<Annotation> getAnnotations()
|
||||
{
|
||||
return annotations;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void loadAttribute(DataInputStream is) throws IOException
|
||||
|
||||
@@ -24,6 +24,16 @@ public class Annotation
|
||||
{
|
||||
return annotations;
|
||||
}
|
||||
|
||||
public Type getType()
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
||||
public List<Element> getElements()
|
||||
{
|
||||
return elements;
|
||||
}
|
||||
|
||||
public void load(DataInputStream is) throws IOException
|
||||
{
|
||||
|
||||
@@ -16,6 +16,21 @@ public class Element
|
||||
{
|
||||
this.annotation = annotation;
|
||||
}
|
||||
|
||||
public Annotation getAnnotation()
|
||||
{
|
||||
return annotation;
|
||||
}
|
||||
|
||||
public Type getType()
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
||||
public String getValue()
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
public void load(DataInputStream is) throws IOException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user