@@ -0,0 +1,2299 @@
+/*%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 com.michaelrocks.lightsaber.processor.descriptors;%0A%0Aimport org.apache.commons.lang3.builder.EqualsBuilder;%0Aimport org.apache.commons.lang3.builder.HashCodeBuilder;%0Aimport org.objectweb.asm.Type;%0A%0Apublic class ParameterizedType %7B%0A    private final Type rawType;%0A    private final Type parameterType;%0A%0A    public ParameterizedType(final Type rawType) %7B%0A        this(rawType, null);%0A    %7D%0A%0A    public ParameterizedType(final Type rawType, final Type parameterType) %7B%0A        this.rawType = rawType;%0A        this.parameterType = parameterType;%0A    %7D%0A%0A    public static ParameterizedType fromType(final Type type) %7B%0A        return new ParameterizedType(type, null);%0A    %7D%0A%0A    public Type getRawType() %7B%0A        return rawType;%0A    %7D%0A%0A    public Type getParameterType() %7B%0A        return parameterType;%0A    %7D%0A%0A    @Override%0A    public boolean equals(final Object object) %7B%0A        if (this == object) %7B%0A            return true;%0A        %7D%0A%0A        if (object == null %7C%7C getClass() != object.getClass()) %7B%0A            return false;%0A        %7D%0A%0A        final ParameterizedType that = (ParameterizedType) object;%0A        return new EqualsBuilder()%0A                .append(rawType, that.rawType)%0A                .append(parameterType, that.parameterType)%0A                .isEquals();%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return new HashCodeBuilder(17, 37)%0A                .append(rawType)%0A                .append(parameterType)%0A                .toHashCode();%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        if (parameterType == null) %7B%0A            return rawType.toString();%0A        %7D else %7B%0A            return rawType + %22%3C%22 + parameterType + %22%3E%22;%0A        %7D%0A    %7D%0A%7D%0A

Add a descriptor for parameterized types