aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java
index 3ded75ad6..d5bdc99f7 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java
@@ -312,7 +312,7 @@ public class AsmHierarchyBuilder extends ASTVisitor {
stack.pop();
}
- private String genSourceSignature(TypeDeclaration typeDeclaration) {
+ protected String genSourceSignature(TypeDeclaration typeDeclaration) {
StringBuffer output = new StringBuffer();
typeDeclaration.printHeader(0, output);
return output.toString();
@@ -400,7 +400,7 @@ public class AsmHierarchyBuilder extends ASTVisitor {
return output.toString();
}
- private void genBytecodeInfo(MethodDeclaration methodDeclaration, IProgramElement peNode) {
+ protected void genBytecodeInfo(MethodDeclaration methodDeclaration, IProgramElement peNode) {
if (methodDeclaration.binding != null) {
String memberName = "";
String memberBytecodeSignature = "";
@@ -479,7 +479,7 @@ public class AsmHierarchyBuilder extends ASTVisitor {
/**
* Checks if comments should be added to the model before generating.
*/
- private String generateJavadocComment(ASTNode astNode) {
+ protected String generateJavadocComment(ASTNode astNode) {
if (buildConfig != null && !buildConfig.isGenerateJavadocsInModelMode()) return null;
StringBuffer sb = new StringBuffer(); // !!! specify length?
@@ -658,7 +658,7 @@ public class AsmHierarchyBuilder extends ASTVisitor {
}
// ??? handle non-existant files
- private ISourceLocation makeLocation(ASTNode node) {
+ protected ISourceLocation makeLocation(ASTNode node) {
String fileName = "";
if (currCompilationResult.getFileName() != null) {
fileName = new String(currCompilationResult.getFileName());
@@ -680,7 +680,7 @@ public class AsmHierarchyBuilder extends ASTVisitor {
// AMC - overloaded set of methods to get start and end lines for
// various ASTNode types. They have no common ancestor in the
// hierarchy!!
- private int getStartLine( ASTNode n){
+ protected int getStartLine( ASTNode n){
// if ( n instanceof AbstractVariableDeclaration ) return getStartLine( (AbstractVariableDeclaration)n);
// if ( n instanceof AbstractMethodDeclaration ) return getStartLine( (AbstractMethodDeclaration)n);
// if ( n instanceof TypeDeclaration ) return getStartLine( (TypeDeclaration)n);
@@ -692,7 +692,7 @@ public class AsmHierarchyBuilder extends ASTVisitor {
// AMC - overloaded set of methods to get start and end lines for
// various ASTNode types. They have no common ancestor in the
// hierarchy!!
- private int getEndLine( ASTNode n){
+ protected int getEndLine( ASTNode n){
if ( n instanceof AbstractVariableDeclaration ) return getEndLine( (AbstractVariableDeclaration)n);
if ( n instanceof AbstractMethodDeclaration ) return getEndLine( (AbstractMethodDeclaration)n);
if ( n instanceof TypeDeclaration ) return getEndLine( (TypeDeclaration)n);