001/* 002 * Copyright 2022-2025 Revetware LLC. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017package com.soklet.annotation; 018 019import com.soklet.internal.classindex.processor.ClassIndexProcessor; 020 021/** 022 * Soklet's standard Annotation Processor which is used to generate lookup tables of <em>Resource Method</em> definitions at compile time. 023 * <p> 024 * Soklet applications should not need to reference this class directly - the compiler should automatically detect this Annotation Processor and apply it. 025 * <p> 026 * However, future versions of Java might require explicit configuration of Annotation Processors at compile time. Should this become necessary, follow the instructions below to make your application conformant: 027 * <p> 028 * Using {@code javac} directly: 029 * <pre>javac -processor com.soklet.annotation.SokletProcessor ...[rest of javac parameters elided]</pre> 030 * Using <a href="https://maven.apache.org">Maven</a>: 031 * <pre>{@code <plugin> 032 * <groupId>org.apache.maven.plugins</groupId> 033 * <artifactId>maven-compiler-plugin</artifactId> 034 * <version>...</version> 035 * <configuration> 036 * <release>...</release> 037 * <compilerArgs> 038 * <arg>-processor</arg> 039 * <arg>com.soklet.annotation.SokletProcessor</arg> 040 * </compilerArgs> 041 * </configuration> 042 * </plugin>}</pre> 043 * 044 * @author <a href="https://www.revetkn.com">Mark Allen</a> 045 */ 046public class SokletProcessor extends ClassIndexProcessor { 047 // No extra functionality 048}