summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2008-01-17 00:07:56 +0000
committeraclement <aclement>2008-01-17 00:07:56 +0000
commit568d71b238472311e13fbfd72428155acd458d41 (patch)
treee9410de948786772dafc7292e1674b2750bde4e1
parent036edcef05ec8713e9c69d69ce01ac9a52624105 (diff)
downloadaspectj-568d71b238472311e13fbfd72428155acd458d41.tar.gz
aspectj-568d71b238472311e13fbfd72428155acd458d41.zip
AspectJ6: picking up compiler interface changes
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java21
1 files changed, 13 insertions, 8 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java
index d6f786411..dcbcd0ef8 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java
@@ -13,6 +13,7 @@ package org.aspectj.ajdt.internal.core.builder;
import org.aspectj.org.eclipse.jdt.core.compiler.CharOperation;
import org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
+import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryAnnotation;
import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryField;
import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryMethod;
import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryNestedType;
@@ -44,12 +45,13 @@ public class CompactTypeStructureRepresentation implements IBinaryType {
boolean isLocal, isAnonymous, isMember;
char[] sourceFileName;
char[] fileName;
- int kind;
+ char[] sourceName;
long tagBits;
boolean isBinaryType;
IBinaryField[] binFields;
IBinaryMethod[] binMethods;
IBinaryNestedType[] memberTypes;
+ IBinaryAnnotation[] annotations;
public CompactTypeStructureRepresentation(ClassFileReader cfr) {
@@ -59,14 +61,13 @@ public class CompactTypeStructureRepresentation implements IBinaryType {
this.isMember = cfr.isMember();
this.sourceFileName = cfr.sourceFileName();
this.fileName = cfr.getFileName();
- this.kind = cfr.getKind();
this.tagBits = cfr.getTagBits();
this.isBinaryType = cfr.isBinaryType();
this.binFields = cfr.getFields(); if (binFields==null) binFields = NoField;
this.binMethods = cfr.getMethods();if (binMethods==null) binMethods = NoMethod;
this.memberTypes = cfr.getMemberTypes();
-
-
+ this.annotations = cfr.getAnnotations();
+ this.sourceName = cfr.getSourceName();
this.className = cfr.getName(); // slashes...
this.modifiers = cfr.getModifiers();
this.genericSignature = cfr.getGenericSignature();
@@ -113,10 +114,6 @@ public class CompactTypeStructureRepresentation implements IBinaryType {
public char[] getSuperclassName() {
return superclassName;
}
-
- public int getKind() {
- return kind;
- }
public char[] getFileName() {
return fileName;
@@ -146,5 +143,13 @@ public class CompactTypeStructureRepresentation implements IBinaryType {
return memberTypes;
}
+ public IBinaryAnnotation[] getAnnotations() {
+ return annotations;
+ }
+
+ public char[] getSourceName() {
+ return sourceName;
+ }
+
} \ No newline at end of file