More assertions

This commit is contained in:
Adam
2015-11-20 16:02:44 -05:00
parent 4c0d8de65b
commit dac030002a
4 changed files with 56 additions and 1 deletions

View File

@@ -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

View File

@@ -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
{

View File

@@ -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
{