Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

IPrivilegedHandler.java 1.1KB

123456789101112131415161718192021222324252627
  1. /*******************************************************************************
  2. * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC)
  3. * and others. All rights reserved.
  4. * This program and the accompanying materials are made available under
  5. * the terms of the Common Public License v1.0 which accompanies this
  6. * distribution, available at http://www.eclipse.org/legal/cpl-v1.0.html
  7. *
  8. * Contributors:
  9. * PARC - initial API and implementation
  10. ******************************************************************************/
  11. package org.eclipse.jdt.internal.compiler.lookup;
  12. /**
  13. * This interface is used by SourceTypeBinding to provide a delegated lookup
  14. * instance. It is used to support AspectJ's inter-type declarations.
  15. *
  16. * These methods are equivalent to those of the same names and sigs in SourceTypeBinding.
  17. */
  18. public interface IPrivilegedHandler {
  19. FieldBinding getPrivilegedAccessField(FieldBinding baseField);
  20. MethodBinding getPrivilegedAccessMethod(MethodBinding baseMethod);
  21. void notePrivilegedTypeAccess(ReferenceBinding type);
  22. }