/*
 * Copyright 2013 JBoss Inc
 *
 * 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
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * 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 org.kie.api.cdi;

import java.lang.String;import java.lang.annotation.Retention;
import java.lang.annotation.Target;


import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.FIELD;

import static java.lang.annotation.RetentionPolicy.RUNTIME;
import javax.inject.Qualifier;

@Qualifier
@Target({TYPE, METHOD, PARAMETER, FIELD})
@Retention(RUNTIME)
public @interface KSession {
    String value();
    String name() default "";    
}

@@ -629,149 +629,65 @@
 java
-.lang.String;import java.lang.annotation.Retention;%0Aimport java.lang.annotation.Target;%0A%0A%0Aimport static java.lang.annotation.ElementType.TYPE
+x.inject.Qualifier;%0Aimport java.lang.annotation.Retention
 ;%0Aim
@@ -683,39 +683,32 @@
 tention;%0Aimport 
-static 
 java.lang.annota
@@ -716,85 +716,16 @@
 ion.
-ElementType.METHOD;%0Aimport static java.lang.annotation.ElementType.PARAMETER;
+Target;%0A
 %0Aimp
@@ -772,15 +772,10 @@
 ype.
-FIELD;%0A
+*;
 %0Aimp
@@ -834,39 +834,8 @@
 IME;
-%0Aimport javax.inject.Qualifier;
 %0A%0A@Q
@@ -952,16 +952,27 @@
  value()
+ default %22%22
 ;%0A    St

allow default value on @KSession annotation