All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.aspectj.weaver.BoundedReferenceTypeDelegate Maven / Gradle / Ivy

Go to download

AspectJ tools most notably contains the AspectJ compiler (AJC). AJC applies aspects to Java classes during compilation, fully replacing Javac for plain Java classes and also compiling native AspectJ or annotation-based @AspectJ syntax. Furthermore, AJC can weave aspects into existing class files in a post-compile binary weaving step. This library is a superset of AspectJ weaver and hence also of AspectJ runtime.

There is a newer version: 1.9.22.1
Show newest version
/**
 *
 */
package org.aspectj.weaver;

import java.util.Collection;
import java.util.Collections;

import org.aspectj.weaver.patterns.Declare;
import org.aspectj.weaver.patterns.PerClause;

class BoundedReferenceTypeDelegate extends AbstractReferenceTypeDelegate {

	public BoundedReferenceTypeDelegate(ReferenceType backing) {
		super(backing, false);
	}

	public boolean isAspect() {
		return resolvedTypeX.isAspect();
	}

	public boolean isAnnotationStyleAspect() {
		return resolvedTypeX.isAnnotationStyleAspect();
	}

	public boolean isInterface() {
		return resolvedTypeX.isInterface();
	}

	public boolean isEnum() {
		return resolvedTypeX.isEnum();
	}

	public boolean isAnnotation() {
		return resolvedTypeX.isAnnotation();
	}

	public boolean isAnnotationWithRuntimeRetention() {
		return resolvedTypeX.isAnnotationWithRuntimeRetention();
	}

	public boolean isAnonymous() {
		return resolvedTypeX.isAnonymous();
	}

	public boolean isNested() {
		return resolvedTypeX.isNested();
	}

	public ResolvedType getOuterClass() {
		return resolvedTypeX.getOuterClass();
	}

	public String getRetentionPolicy() {
		return resolvedTypeX.getRetentionPolicy();
	}

	public boolean canAnnotationTargetType() {
		return resolvedTypeX.canAnnotationTargetType();
	}

	public AnnotationTargetKind[] getAnnotationTargetKinds() {
		return resolvedTypeX.getAnnotationTargetKinds();
	}

	public boolean isGeneric() {
		return resolvedTypeX.isGenericType();
	}

	public String getDeclaredGenericSignature() {
		return resolvedTypeX.getDeclaredGenericSignature();
	}

	public boolean hasAnnotation(UnresolvedType ofType) {
		return resolvedTypeX.hasAnnotation(ofType);
	}

	public AnnotationAJ[] getAnnotations() {
		return resolvedTypeX.getAnnotations();
	}

	public boolean hasAnnotations() {
		return resolvedTypeX.hasAnnotations();
	}

	public ResolvedType[] getAnnotationTypes() {
		return resolvedTypeX.getAnnotationTypes();
	}

	public ResolvedMember[] getDeclaredFields() {
		return resolvedTypeX.getDeclaredFields();
	}

	public ResolvedType[] getDeclaredInterfaces() {
		return resolvedTypeX.getDeclaredInterfaces();
	}

	public ResolvedMember[] getDeclaredMethods() {
		return resolvedTypeX.getDeclaredMethods();
	}

	public ResolvedMember[] getDeclaredPointcuts() {
		return resolvedTypeX.getDeclaredPointcuts();
	}

	public PerClause getPerClause() {
		return resolvedTypeX.getPerClause();
	}

	public Collection getDeclares() {
		return resolvedTypeX.getDeclares();
	}

	public Collection getTypeMungers() {
		return resolvedTypeX.getTypeMungers();
	}

	public Collection getPrivilegedAccesses() {
		return Collections.emptyList();
	}

	public int getModifiers() {
		return resolvedTypeX.getModifiers();
	}

	public ResolvedType getSuperclass() {
		return resolvedTypeX.getSuperclass();
	}

	public WeaverStateInfo getWeaverState() {
		return null;
	}

	public TypeVariable[] getTypeVariables() {
		return resolvedTypeX.getTypeVariables();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy