Skip to content

Commit 3e32dd4

Browse files
committed
Accept replace also for complete classes
1 parent 9c38527 commit 3e32dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/de/inetsoftware/jwebassembly/api/annotation/Replace.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Volker Berlin (i-net software)
2+
* Copyright 2019 - 2020 Volker Berlin (i-net software)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@
2626
* @author Volker Berlin
2727
*/
2828
@Retention( RetentionPolicy.CLASS )
29-
@Target( {ElementType.METHOD, ElementType.CONSTRUCTOR} )
29+
@Target( {ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE } )
3030
public @interface Replace {
3131

3232
/**

0 commit comments

Comments
 (0)