mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
Proposed changes form Hoda now extends IVariableDeclaration
This commit is contained in:
parent
fa981af205
commit
b365162ce5
2 changed files with 17 additions and 9 deletions
|
@ -8,7 +8,7 @@ package org.eclipse.cdt.core.model;
|
|||
/**
|
||||
* Represent struct(ure), class or union.
|
||||
*/
|
||||
public interface IStructure extends IInheritance, IParent, ICElement, IVariable {
|
||||
public interface IStructure extends IInheritance, IParent, ICElement, IVariableDeclaration {
|
||||
//public String instantiatesTemplate();
|
||||
|
||||
public IField getField(String name);
|
||||
|
|
|
@ -64,14 +64,6 @@ public class Structure extends SourceManipulation implements IStructure {
|
|||
return new IStructure[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the access control for each inherited structure.
|
||||
* @IInheritance
|
||||
*/
|
||||
public int getAccessControl(int pos) throws CModelException {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see IVariable
|
||||
*/
|
||||
|
@ -101,4 +93,20 @@ public class Structure extends SourceManipulation implements IStructure {
|
|||
return new SourceManipulationInfo(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the access control for each inherited structure.
|
||||
* @IInheritance
|
||||
*/
|
||||
public int getAccessControl(int pos) throws CModelException {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.core.model.IVariableDeclaration#getAccesControl()
|
||||
*/
|
||||
public int getAccesControl() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue