codeoverflow-org / chatoverflow

What if you could combine the power of chat bots, streamer support sites and social media? This is chat overflow.
http://codeoverflow.org
Eclipse Public License 2.0
57 stars 12 forks source link

Automatically generated requirement methods sometimes don't work #147

Closed derNiklaas closed 4 years ago

derNiklaas commented 4 years ago

I'm currently working on new parameter requirements.

Description

Some requirements (example: BooleanParameter) getting some none useable code that doesn't want to compile. While the code is compiling it creates a method that uses the name of a datatype, which isn't allowed.

Bildschirmfoto 2019-11-07 um 14 24 51

How to reproduce

  1. Create an interface (example: BooleanParameter)
  2. Create the Impl (example: BooleanParameterImpl)
  3. Perform an advanced run.

Error Log

Bildschirmfoto 2019-11-07 um 14 23 59
derNiklaas commented 4 years ago

https://github.com/codeoverflow-org/chatoverflow-api/blob/develop/src/main/java/org/codeoverflow/chatoverflow/api/IsRequirement.java -> String methodName() default "";

-- closed