Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MethodDeclaration.java')
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MethodDeclaration.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MethodDeclaration.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MethodDeclaration.java
index 6431118c222..3445f90e68d 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MethodDeclaration.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MethodDeclaration.java
@@ -84,10 +84,12 @@ public class MethodDeclaration extends FunctionDeclaration implements IMethodDec
getMethodInfo().setFriend(isFriend);
}
+ @Override
public boolean isConst(){
return isConst;
}
+ @Override
public void setConst(boolean isConst) throws CModelException{
this.isConst = isConst;
}
@@ -100,6 +102,7 @@ public class MethodDeclaration extends FunctionDeclaration implements IMethodDec
getMethodInfo().setVisibility(visibility);
}
+ @Override
protected CElementInfo createElementInfo () {
return new MethodInfo(this);
}
@@ -108,6 +111,7 @@ public class MethodDeclaration extends FunctionDeclaration implements IMethodDec
return (MethodInfo) getElementInfo();
}
+ @Override
public boolean equals(Object other) {
if (other instanceof IMethodDeclaration) {
return equals(this, (IMethodDeclaration) other);

Back to the top