mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Removed default ctor.
This commit is contained in:
parent
c9e8e1e90c
commit
c53ce7042b
1 changed files with 2 additions and 12 deletions
|
@ -18,13 +18,8 @@ import org.eclipse.cdt.internal.core.dom.parser.ASTNode;
|
|||
* @author jcamelon
|
||||
*/
|
||||
public class CPPASTVisibilityLabel extends ASTNode implements ICPPASTVisibilityLabel {
|
||||
|
||||
private int visibility;
|
||||
|
||||
|
||||
public CPPASTVisibilityLabel() {
|
||||
}
|
||||
|
||||
public CPPASTVisibilityLabel(int visibility) {
|
||||
this.visibility = visibility;
|
||||
}
|
||||
|
@ -36,12 +31,7 @@ public class CPPASTVisibilityLabel extends ASTNode implements ICPPASTVisibilityL
|
|||
|
||||
@Override
|
||||
public CPPASTVisibilityLabel copy(CopyStyle style) {
|
||||
CPPASTVisibilityLabel copy = new CPPASTVisibilityLabel(visibility);
|
||||
copy.setOffsetAndLength(this);
|
||||
if (style == CopyStyle.withLocations) {
|
||||
copy.setCopyLocation(this);
|
||||
}
|
||||
return copy;
|
||||
return copy(new CPPASTVisibilityLabel(visibility), style);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue