Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2010-2011 eBusiness Information, Excilys Group Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed To in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package com.googlecode.androidannotations.annotationprocessor;
public abstract class AnnotatedAbstractProcessor extends AbstractProcessor {

If the processor class is annotated with SupportedAnnotationClasses , return an unmodifiable set with the set of strings corresponding to the array of classes of the annotation. If the class is not so annotated, the javax.annotation.processing.AbstractProcessor.getSupportedAnnotationTypes() method is called.

the names of the annotation classes supported by this processor, or javax.annotation.processing.AbstractProcessor.getSupportedAnnotationTypes() result if none
		if (sac == null) {
				.getMessager().printMessage(.."No " + SupportedAnnotationClasses.class.getSimpleName() + " annotation " + "found on " + this.getClass().getName() + ", returning parent method result.");
			return arrayToSet(sac.value());
	private static Set<StringarrayToSet(Class<? extends Annotation>[] array) {
		assert array != null;
		Set<Stringset = new HashSet<String>(array.length);
		for (Class<? extends Annotationc : array) {
		return Collections.unmodifiableSet(set);
New to GrepCode? Check out our FAQ X