Exemplo n.º 1
0
  public void add(final String name, final ElementAccess access) {
    ElementAccessList detail = fData.get(name);
    if (detail == null) {
      detail = new ElementAccessList(name);
      fData.put(name, detail);
    }
    detail.entries.add(access);
    /*if (access.isWriteAccess() && !access.isDeletion()) {
    	detail.isCreated = CREATED_EXPLICITE;
    }
    else */ if (access.isImport()) {
      detail.isCreated = CREATED_IMPORTED;
    }
    access.fShared = detail;

    access.fFullNode.addAttachment(access);
  }
Exemplo n.º 2
0
 @Override
 public final boolean isWriteAccess() {
   return fRoot.isWriteAccess();
 }
Exemplo n.º 3
0
 @Override
 public boolean isMethodAccess() {
   return fRoot.isMethodAccess();
 }
Exemplo n.º 4
0
 @Override
 public final IRFrame getFrame() {
   return fRoot.getFrame();
 }