@@ -0,0 +1,1505 @@
+/*%0A * Copyright 2015 Michael Rozumyanskiy%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage io.michaelrocks.lightsaber.processor.warermark;%0A%0Aimport org.objectweb.asm.Attribute;%0Aimport org.objectweb.asm.ByteVector;%0Aimport org.objectweb.asm.ClassReader;%0Aimport org.objectweb.asm.ClassWriter;%0Aimport org.objectweb.asm.Label;%0A%0Apublic class LightsaberAttribute extends Attribute %7B%0A    public LightsaberAttribute() %7B%0A        this(%22Lightsaber%22);%0A    %7D%0A%0A    private LightsaberAttribute(final String type) %7B%0A        super(type);%0A    %7D%0A%0A    @Override%0A    protected LightsaberAttribute read(final ClassReader classReader, final int offset, final int length,%0A            final char%5B%5D buffer, final int codeOffset, final Label%5B%5D labels) %7B%0A        return new LightsaberAttribute();%0A    %7D%0A%0A    @Override%0A    protected ByteVector write(final ClassWriter classWriter, final byte%5B%5D code, final int length, final int maxStack,%0A            final int maxLocals) %7B%0A        return new ByteVector();%0A    %7D%0A%7D%0A

Add an attribute for watermarking Lightsaber-processed classes